Derek R. Price writes:
>
> Is this really traditional? I've never seen it in over 10 years of C
> programming. Can you point me at the appropriate standard?
It's standard for the arguments to main -- according to the ISO C
standard (ISO/IEC 9899:1999) 5.1.2.2.1 Program startup:
If they are declared, the parameters to the main function shall
obey the following constraints:
- The value of argc shall be nonnegative.
- argv[argc] shall be a null pointer.
...
-Larry Jones
Mom must've put my cape in the wrong drawer. -- Calvin
_______________________________________________
Bug-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-cvs