On Sat, 11 May 2013 12:25:13 -0700, retired mainframer wrote:

>What is the character between the two single quote marks in the first call
>to memset?  My email shows no character (the quotes are adjacent) and C does
>not support an empty character constant.  Perchance did you have a hex 00
>there?  If so, the code would be more readable using '\0' as the character
>constant.
>

Under omvs, the "cc" and "xlc" commands treat two adjacent single quotes as 
equivalent to '\0'. The "c89" command treats it as an error, with an "Empty 
character constant" message.

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

Reply via email to