On Tue, Feb 13, 2018 at 1:40 PM, Ravi Pokala <rpok...@mac.com> wrote:

> -----Original Message-----
> From: <owner-src-committ...@freebsd.org> on behalf of Eric van Gyzen <
> e...@vangyzen.net>
> Date: 2018-02-13, Tuesday at 11:52
> To: Ed Maste <ema...@freebsd.org>, Ian Lepore <i...@freebsd.org>
> Cc: src-committers <src-committ...@freebsd.org>, <svn-src-all@freebsd.org>,
> <svn-src-h...@freebsd.org>
> Subject: Re: svn commit: r329237 - head/sys/libkern
>
> > ...
> >
> > I prefer '\0' here because it tells the reader that it's a NUL
> > character, as opposed to a NULL pointer or a zero integer.  Yes, the
> > reader should already know that, but the author can /help/ the reader by
> > communicating more clearly and completely.
> >
> > Eric
>
> Out of morbid curiosity, does any standard (or any of our non-standard
> headers) define a "NUL" macro for use as a manual string terminator?
>

No. There's no standard define.

Warner
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to