[TUHS] Comments in early Unix systems
Lyndon Nerenberg
lyndon at orthanc.ca
Fri Mar 23 06:20:23 AEST 2018
> I'll agree with the latter part. But in my own code I try to be very
> careful to use NULL for pointers, '\0' for end of string,
In the '\0' case I have a preference for NUL, but admittedly it's easy to
confuse/typo with NULL. That convention follows from my habit of enuming
ASCII constants with their three-letter 'names' (e.g. CAN, DLE, ...).
--lyndon
More information about the TUHS
mailing list