Re: wcschr(3): add special case for NUL, as in strchr(3)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Stefan Kanthak <stefan.kanthak@xxxxxxxx>, 2021-07-12, 11:37:
JFTR: to avoid any possible confusion of "null byte" alias NUL with the "null pointer" alias NULL (C macro) or nullptr (C++), "null byte" should be replaced with "NUL byte"!

"NUL byte" looks like a typo for "NULL byte", so if anything, it makes the potential for confusion greater.

Anyway, "null byte" is the preferred term in the man-pages style guide; see the "NULL, NUL, null pointer, and null character" subsection in man-pages(7).

--
Jakub Wilk



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux