Details |
Last modification |
View Log
| RSS feed
Rev |
Author |
Line No. |
Line |
4973 |
right-hear |
1 |
/* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ |
|
|
2 |
#include |
|
|
3 |
#include |
|
|
4 |
#include |
|
|
5 |
|
|
|
6 |
int |
|
|
7 |
mkstemp (char *_template) |
|
|
8 |
{ |
|
|
9 |
if (mktemp (_template)) |
|
|
10 |
return creat (_template, 0666); |
|
|
11 |
else { |
|
|
12 |
errno = ENOENT; |
|
|
13 |
return -1; |
|
|
14 |
} |
|
|
15 |
} |