mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-11-07 04:36:52 -10:00
13 lines
185 B
C
13 lines
185 B
C
#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;
|
|
}
|