home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.c      Meh, in C you gotta define EVERYTHING      243,242 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 242,353 of 243,242   
   Keith Thompson to Scott Lurndal   
   Re: is_binary_file()   
   06 Dec 25 16:05:45   
   
   From: Keith.S.Thompson+u@gmail.com   
      
   scott@slp53.sl.home (Scott Lurndal) writes:   
   > Keith Thompson  writes:   
   [...]   
   >>Please use the term "null bytes", not "NULL bytes".  NULL is a standard   
   >>macro that expands to a null pointer constant.   
   >   
   > The proper term IMO is 'NUL' byte as defined by ASCII.   
      
   That's *a* proper term.  It's not the only one.   
      
   Both ASCII and EBCDIC use the term "NUL" for the character value   
   with all bits set to zero, but C doesn't assume either ASCII or   
   EBCDIC and doesn't use the name "NUL".  The standard uses the term   
   "null character", which is technically correct but might not be   
   ideal to refer to a byte in a file whose contents aren't intended   
   to represent characters.   
      
   I have no problem with the term "NUL", "NUL byte", or "NUL   
   character", but personally I tend to prefer "null byte", "zero byte",   
   or '\0'.   
      
   [...]   
      
   --   
   Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com   
   void Void(void) { Void(); } /* The recursive call of the void */   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca