git.ckatri.com
/
mandoc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Use "-" rather than "\(hy" for the heads of .Bl -dash and -hyphen lists.
[mandoc.git]
/
test-mkdtemp.c
1
#include <stdlib.h>
2
#include <unistd.h>
3
4
int
5
main
(
void
)
6
{
7
char
dirname
[] =
"/tmp/temp.XXXXXX"
;
8
9
if
(
mkdtemp
(
dirname
) !=
dirname
)
10
return
1
;
11
return
rmdir
(
dirname
) == -
1
;
12
}