| Summary: | Spelling mistake in strlen(3) | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Documentation | Reporter: | Sam Banks <samb> | ||||
| Component: | Books & Articles | Assignee: | Daniel Gerzo <danger> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Only Me | ||||||
| Priority: | Normal | ||||||
| Version: | Latest | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
|
Description
Sam Banks
2008-06-23 03:30:04 UTC
On Mon, Jun 23, 2008 at 02:27:58AM +0000, Sam Banks wrote: > > >Number: 124894 ... > >Description: > NULL is spelled NUL inside strlen(3). That is correct. NULL is syntactic sugar for 0 in c, a NULL pointer; i.e. a pointer pointing to NULL. However, NUL is the ASCII char nul, it is not NULL. > terminating > -.Dv NUL > +.Dv NULL NULL is not a character, NUL is. -- - db@FreeBSD.org db@db.net http://www.db.net/~db I was a bit hasty in logging this PR. It appears that NUL is the ASCII abbreviation for the NULL character and the string functions have many references to it. Please cancel this PR :) State Changed From-To: open->closed Close this one as it's invalid. Thank you for reporting though. Responsible Changed From-To: freebsd-doc->danger Track |