Copy comment from tempfile.h to tempfile.c

svn path=/trunk/; revision=27687
This commit is contained in:
Bill Meier 2009-03-10 00:05:15 +00:00
parent cf930e3092
commit 85d40cf8d0
1 changed files with 5 additions and 0 deletions

View File

@ -100,6 +100,11 @@ static const char *E_tmpdir;
#define P_tmpdir "/var/tmp"
#endif
/* create a tempfile with the given prefix (e.g. "ether")
* namebuf (and namebuflen) should be 128+1 bytes long (BTW: why?)
* returns the file descriptor of the new tempfile and
* the name of the new file in namebuf
*/
int
create_tempfile(char *namebuf, int namebuflen, const char *pfx)
{