Return to mktemp.c CVS log | Up to [local] / src / usr.bin / mktemp |
version 1.21, 2015/10/07 06:43:15 | version 1.22, 2015/10/09 01:37:08 | ||
---|---|---|---|
|
|
||
char *cp, *template, *tempfile, *prefix = _PATH_TMP; | char *cp, *template, *tempfile, *prefix = _PATH_TMP; | ||
size_t len; | size_t len; | ||
if (tame("stdio rpath wpath cpath", NULL) == -1) | if (pledge("stdio rpath wpath cpath", NULL) == -1) | ||
err(1, "tame"); | err(1, "pledge"); | ||
while ((ch = getopt(argc, argv, "dp:qtu")) != -1) | while ((ch = getopt(argc, argv, "dp:qtu")) != -1) | ||
switch(ch) { | switch(ch) { |