blob: 31460dcae4286e2285dad03cbc5140f2b2d78823 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
#include <stdlib.h>
#include <unistd.h>
int
main(void)
{
char filename[] = "/tmp/temp.XXXXXX.suffix";
if (mkstemps(filename, 7) == -1)
return 1;
return unlink(filename) == -1;
}
|