Paul Gilmartin wrote:

And the UNIX argv[] vector is terminated by a NULL (0) pointer, not -1.

Don't people usually use the argc (parm count) value also passed in unix main()? If so they would never go past the end of argv[].

But I do like ending things with zeros instead of FFFFFFFFFFFFFFFF. Wow, that's a lot of F's - I really can't imagine coding a 64-bit assembler program. Kind of like looking at IPV6 addresses.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to