On Tue, 29 Apr 2008 17:15:11 +1200, Greg Ewing wrote: > skip at pobox.com wrote: >> Guido> Have we documented the alternatives well enough? >> >> I suppose we could document explicitly how to use mkstemp() in place of >> mktemp(), but the difference in return value is fairly modest: > > I'd like to see a variation of mkstemp() that returns a file object > instead of a file descriptor, since that's what you really want most of > the time. At least I always end up calling fdopen on it. Same here. In fact, is there a good reason to have mkstemp() return the fd (except backward compatibility)? -- Giovanni Bajo Develer S.r.l. http://www.develer.com
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4