News for hackers. Stuff that matters.
Re:Where do argc and argv come from? by saagarjha on Monday August 10, 2020 @03:23PM (#24113009)
> There is a third argument to main

Note that on macOS there is an additional fourth argument to main, char *apple[] (I would write this as a double pointer, but Hacker News would eat it if I did). It contains things passed on from the kernel mostly on relevant to libc and dyld.

There are no comments on this comment yet.