sizeof \\"string\\"? multi-line macro usage?
Root Boy Jim
rbj at icst-cmr
Tue Jul 22 02:18:56 AEST 1986
Dan Levy adds a tad more info:
In article <2229 at brl-smoke.ARPA>, rbj at icst-cmr (Root Boy Jim) writes:
>Definitely! I've seen write(1,"Hello World\n",sizeof "Hello World\n").
But that puts out a null character, too!
Good point, but who cares, as long as you're writing to a tty. Now a file
might be a different story.
(Root Boy) Jim Cottrell <rbj at icst-cmr.arpa>
I wonder if I could ever get started in the credit world?
More information about the Comp.lang.c
mailing list