version 1.2, 1997/06/16 02:21:57 |
version 1.3, 2000/06/30 16:00:23 |
|
|
sigfillset(&set); |
sigfillset(&set); |
(void)sigprocmask(SIG_BLOCK, &set, &oset); |
(void)sigprocmask(SIG_BLOCK, &set, &oset); |
if ((fd = mkstemp(path)) < 0) |
if ((fd = mkstemp(path)) < 0) |
err(2, path); |
err(2, "%s", path); |
if (!(fp = fdopen(fd, "w+"))) |
if (!(fp = fdopen(fd, "w+"))) |
err(2, path); |
err(2, "%s", path); |
(void)unlink(path); |
(void)unlink(path); |
|
|
(void)sigprocmask(SIG_SETMASK, &oset, NULL); |
(void)sigprocmask(SIG_SETMASK, &oset, NULL); |