| /openbsd-src/usr.sbin/pppd/ |
| H A D | pathnames.h | 14 #define _PATH_DEVNULL "/dev/null" macro
|
| /openbsd-src/usr.sbin/config/ |
| H A D | config.h | 58 #ifndef _PATH_DEVNULL 59 #define _PATH_DEVNULL "/dev/null" macro
|
| H A D | gram.y | 463 strlcpy(buf, _PATH_DEVNULL, sizeof buf); in setmachine()
|
| /openbsd-src/lib/libc/gen/ |
| H A D | daemon.c | 56 if (!noclose && (fd = open(_PATH_DEVNULL, O_RDWR)) != -1) { in daemon()
|
| /openbsd-src/include/ |
| H A D | paths.h | 48 #define _PATH_DEVNULL "/dev/null" macro
|
| /openbsd-src/usr.bin/patch/ |
| H A D | util.c | 356 if (strnEQ(at, _PATH_DEVNULL, sizeof(_PATH_DEVNULL) - 1)) in fetchname()
|
| /openbsd-src/libexec/ftpd/ |
| H A D | monitor.c | 226 if ((nullfd = open(_PATH_DEVNULL, O_RDWR)) == -1) in monitor_post_auth() 227 fatalx("cannot open %s: %m", _PATH_DEVNULL); in monitor_post_auth()
|
| /openbsd-src/regress/lib/libc/sys/ |
| H A D | t_pollts.c | 166 fd = open(_PATH_DEVNULL, O_RDONLY); in ATF_TC_BODY()
|
| /openbsd-src/usr.bin/skeyaudit/ |
| H A D | skeyaudit.c | 48 if ((nullfd = dupfd = open(_PATH_DEVNULL, O_RDWR)) == -1) { in sanitise_stdfd()
|
| /openbsd-src/usr.bin/cu/ |
| H A D | command.c | 62 fd = open(_PATH_DEVNULL, O_RDWR); in pipe_command()
|
| /openbsd-src/usr.sbin/cron/ |
| H A D | crontab.c | 272 if (!(f = fopen(_PATH_DEVNULL, "r"))) in edit_cmd() 273 err(EXIT_FAILURE, _PATH_DEVNULL); in edit_cmd()
|
| /openbsd-src/usr.bin/tmux/ |
| H A D | cmd-pipe-pane.c | 140 null_fd = open(_PATH_DEVNULL, O_WRONLY); in cmd_pipe_pane_exec()
|
| H A D | job.c | 161 nullfd = open(_PATH_DEVNULL, O_RDWR); in job_run()
|
| /openbsd-src/usr.sbin/lpr/lpd/ |
| H A D | recvjob.c | 102 (void)open(_PATH_DEVNULL, O_WRONLY); in recvjob()
|
| /openbsd-src/sbin/isakmpd/ |
| H A D | isakmpd.c | 367 if ((nullfd = dupfd = open(_PATH_DEVNULL, O_RDWR)) == -1) { in sanitise_stdfd()
|
| /openbsd-src/usr.bin/ssh/ |
| H A D | ssh-keysign.c | 187 if ((fd = open(_PATH_DEVNULL, O_RDWR)) < 2) in main()
|
| H A D | sshd.c | 1285 if ((devnull = open(_PATH_DEVNULL, O_RDWR)) == -1) in main() 1286 fatal("open %s: %s", _PATH_DEVNULL, strerror(errno)); in main() 1289 fatal("dup %s: %s", _PATH_DEVNULL, strerror(errno)); in main()
|
| H A D | misc.c | 1476 if ((nullfd = dupfd = open(_PATH_DEVNULL, O_RDWR)) == -1) { in tohex() 2622 if ((devnull = open(_PATH_DEVNULL, O_RDWR)) == -1) { 2623 error_f("open %s: %s", _PATH_DEVNULL, 2739 if ((devnull = open(_PATH_DEVNULL, O_RDWR)) == -1) { in subprocess() 2740 error("%s: open %s: %s", tag, _PATH_DEVNULL, in subprocess()
|
| /openbsd-src/usr.sbin/dhcrelay/ |
| H A D | dhcrelay.c | 215 devnull = open(_PATH_DEVNULL, O_RDWR); in main() 217 fatal("open(%s)", _PATH_DEVNULL); in main()
|
| /openbsd-src/usr.sbin/dhcrelay6/ |
| H A D | dhcrelay6.c | 239 devnull = open(_PATH_DEVNULL, O_RDWR); in main() 241 fatal("open(%s)", _PATH_DEVNULL); in main()
|
| /openbsd-src/usr.bin/mail/ |
| H A D | popen.c | 273 open(_PATH_DEVNULL, O_RDONLY, 0); in prepare_child()
|
| /openbsd-src/usr.bin/calendar/ |
| H A D | io.c | 358 fderr = open(_PATH_DEVNULL, O_WRONLY); in opencal()
|
| /openbsd-src/usr.bin/xargs/ |
| H A D | xargs.c | 543 fd = open(_PATH_DEVNULL, O_RDONLY); in run()
|
| /openbsd-src/usr.sbin/ftp-proxy/ |
| H A D | ftp-proxy.c | 776 devnull = open(_PATH_DEVNULL, O_RDWR); in main() 778 err(1, "open(%s)", _PATH_DEVNULL); in main()
|
| /openbsd-src/usr.bin/rdist/ |
| H A D | common.c | 689 (void) open(_PATH_DEVNULL, O_RDONLY); in runcommand()
|