mkstemp(3)
Douglas McIlroy <[email protected]>
| Newsgroups | org.kernel.vger.linux-man |
|---|---|
| Message-ID | <CAKH6PiUk2L35i4i4TYkEP5VWH8DWodgRDLqUTSRQ27MB20HRhA@mail.gmail.com> |
The synopses of mkstemp(3) that I have seen, e.g. in ubuntu 13.3.0, say incorrectly that it is declared in <stdlib.h>. It is not in gcc's <stdlib.h>, and should not be, because stdlib.h is part of the C standard and mkstemp is a construct of Unix, not C. (It returns a file descriptor.) Doug McIlroy