2 ms·
> 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,
by saagarjha 6y ago
> 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.