[net.unix] "" is not NULL

buck%nrl-css@sri-unix.UUCP (02/01/84)

From:  Joe Buck <buck@nrl-css>

> Uh, write(2,"",1) writes the first byte of your address space, which may
> be zero if you are lucky.  I remember a long discussion a while ago on
> the subject of *0 and what is found there.  I don't remember the outcome
> or positions, but I don't think it is a particularly swift idea in general.
>
> --Ray

Not true! The author is confusing "" with NULL. "" gives a character
string with one byte; that one byte is 0. NULL is 0. A lot of Unix code
is full of assumptions that *NULL is legal and gives '\0'; however,
that is a completely different issue.


-Joe