I believe have made all of libc .c's as consistent as possible.
RTFM'ing. Either both the header files and the man pages are wrong or this code is, and I'll take the majority decision. :-)