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.
Posted Jan 28, 2022 21:13 UTC (Fri)
by larkey (guest, #104463)
[Link]
Handling argc==0 in the kernel