Handling argc==0 in the kernel
Handling argc==0 in the kernel
Posted Jan 31, 2022 12:35 UTC (Mon) by anton (subscriber, #25547)In reply to: Handling argc==0 in the kernel by larkey
Parent article: Handling argc==0 in the kernel
In all of this text I see only requirements on the application, not on the OS. An application must not pass argv=NULL, and POSIX does not define define what the OS shall do if the application is non-conforming in this respect. Linux has a certain behaviour, BSD a different one, both conforming AFAICT.
