RTFM'ing. Either both the header files and the man pages are wrong or this code is, and I'll take the majority decision. :-)