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
194 B
C
12 lines
194 B
C
#define _BSD_SOURCE
|
|
#include <stdlib.h>
|
|
#include "libc.h"
|
|
|
|
int __mkostemps(char *, int, int);
|
|
|
|
int mkstemps(char *template, int len)
|
|
{
|
|
return __mkostemps(template, len, 0);
|
|
}
|
|
|
|
LFS64(mkstemps);
|