-----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-...@freebsd.org>, 
<svn-src-head@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?

-Ravi (rpokala@)


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

Reply via email to