Handling argc==0 in the kernel
Handling argc==0 in the kernel
Posted Jan 28, 2022 20:07 UTC (Fri) by khim (subscriber, #9252)In reply to: Handling argc==0 in the kernel by larkey
Parent article: Handling argc==0 in the kernel
You found the right page, just, perhaps, not the right quote. I think that one should close that discussion about meanings of different words:
> The wording, in particular the use of the word should, requires a Strictly Conforming POSIX Application to pass at least one argument to the exec function, thus guaranteeing that argc be one or greater when invoked by such an application.I don't think explanations can be more clear than that.
You don't need to dig around for strict meanings of different words, authors of the standard did that for you.
The LWN site is currently under high scraper load, so comment display has been suppressed for anonymous users. If you are a human, you may read the comments by clicking the button below:
Note: you can avoid this step in the future by logging into your LWN account.
