Handling argc==0 in the kernel
Handling argc==0 in the kernel
Posted Jan 31, 2022 13:14 UTC (Mon) by jem (subscriber, #24231)In reply to: Handling argc==0 in the kernel by anselm
Parent article: Handling argc==0 in the kernel
One might also argue that argc is superfluous, and iterating over argv by incrementing a pointer variable, stopping when the terminating NULL is reached, would be the idiomatic C thing to do. After all, this would be analogous to how C's null-terminated strings are handled.
