based on patch contributed by Anthony G. Basile (blueness) some issues remain with the filename generation algorithm and other small bugs, but this patch has been sitting around long enough that I feel it's best to get it committed and then work out any remaining issues.
12 lines
161 B
C
12 lines
161 B
C
#include <stdlib.h>
|
|
#include "libc.h"
|
|
|
|
int __mkostemps(char *, int, int);
|
|
|
|
int mkstemp(char *template)
|
|
{
|
|
return __mkostemps(template, 0, 0);
|
|
}
|
|
|
|
LFS64(mkstemp);
|