Return to pr.c CVS log | Up to [local] / src / usr.bin / pr |
version 1.38, 2015/10/09 01:37:08 | version 1.39, 2015/11/11 02:52:46 | ||
---|---|---|---|
|
|
||
{ | { | ||
int ret_val; | int ret_val; | ||
if (pledge("stdio rpath", NULL) == -1) | if (pledge("stdio rpath", NULL) == -1) { | ||
perror("pledge"); | perror("pledge"); | ||
exit(1); | |||
} | |||
if (signal(SIGINT, SIG_IGN) != SIG_IGN) | if (signal(SIGINT, SIG_IGN) != SIG_IGN) | ||
(void)signal(SIGINT, terminate); | (void)signal(SIGINT, terminate); |