tags 357893 fixed-upstream thanks > I could rant for a while about how the temp file creation functions > all suck, but I'll spare you, but for this (very minor) problem in > tempnam(3): > > Upon failure to find a unique name, glibc will return EEXIST. > > In fact, EEXIST is defined (here) as 17, which is a nonsensical > error return value; presumably, what's intended is: > > Upon failure to find a unique name, glibc will return NULL and set > errno to EEXIST. > > (This could also go into "ERRORS", but makes sense in NOTES, too.)
I agree -- the wording is poor. I have fixed for 2.26. Cheers, Michael -- Michael Kerrisk maintainer of Linux man pages Sections 2, 3, 4, 5, and 7 Want to help with man page maintenance? Grab the latest tarball at ftp://ftp.win.tue.nl/pub/linux-local/manpages/, read the HOWTOHELP file and grep the source files for 'FIXME'. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

