Home
last modified time | relevance | path

Searched refs:_PATH_DEVNULL (Results 1 – 25 of 40) sorted by relevance

12

/openbsd-src/usr.sbin/pppd/
H A Dpathnames.h14 #define _PATH_DEVNULL "/dev/null" macro
/openbsd-src/usr.sbin/config/
H A Dconfig.h58 #ifndef _PATH_DEVNULL
59 #define _PATH_DEVNULL "/dev/null" macro
H A Dgram.y463 strlcpy(buf, _PATH_DEVNULL, sizeof buf); in setmachine()
/openbsd-src/lib/libc/gen/
H A Ddaemon.c56 if (!noclose && (fd = open(_PATH_DEVNULL, O_RDWR)) != -1) { in daemon()
/openbsd-src/include/
H A Dpaths.h48 #define _PATH_DEVNULL "/dev/null" macro
/openbsd-src/usr.bin/patch/
H A Dutil.c356 if (strnEQ(at, _PATH_DEVNULL, sizeof(_PATH_DEVNULL) - 1)) in fetchname()
/openbsd-src/libexec/ftpd/
H A Dmonitor.c226 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 Dt_pollts.c166 fd = open(_PATH_DEVNULL, O_RDONLY); in ATF_TC_BODY()
/openbsd-src/usr.bin/skeyaudit/
H A Dskeyaudit.c48 if ((nullfd = dupfd = open(_PATH_DEVNULL, O_RDWR)) == -1) { in sanitise_stdfd()
/openbsd-src/usr.bin/cu/
H A Dcommand.c62 fd = open(_PATH_DEVNULL, O_RDWR); in pipe_command()
/openbsd-src/usr.sbin/cron/
H A Dcrontab.c272 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 Dcmd-pipe-pane.c140 null_fd = open(_PATH_DEVNULL, O_WRONLY); in cmd_pipe_pane_exec()
H A Djob.c161 nullfd = open(_PATH_DEVNULL, O_RDWR); in job_run()
/openbsd-src/usr.sbin/lpr/lpd/
H A Drecvjob.c102 (void)open(_PATH_DEVNULL, O_WRONLY); in recvjob()
/openbsd-src/sbin/isakmpd/
H A Disakmpd.c367 if ((nullfd = dupfd = open(_PATH_DEVNULL, O_RDWR)) == -1) { in sanitise_stdfd()
/openbsd-src/usr.bin/ssh/
H A Dssh-keysign.c187 if ((fd = open(_PATH_DEVNULL, O_RDWR)) < 2) in main()
H A Dsshd.c1285 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 Dmisc.c1476 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 Ddhcrelay.c215 devnull = open(_PATH_DEVNULL, O_RDWR); in main()
217 fatal("open(%s)", _PATH_DEVNULL); in main()
/openbsd-src/usr.sbin/dhcrelay6/
H A Ddhcrelay6.c239 devnull = open(_PATH_DEVNULL, O_RDWR); in main()
241 fatal("open(%s)", _PATH_DEVNULL); in main()
/openbsd-src/usr.bin/mail/
H A Dpopen.c273 open(_PATH_DEVNULL, O_RDONLY, 0); in prepare_child()
/openbsd-src/usr.bin/calendar/
H A Dio.c358 fderr = open(_PATH_DEVNULL, O_WRONLY); in opencal()
/openbsd-src/usr.bin/xargs/
H A Dxargs.c543 fd = open(_PATH_DEVNULL, O_RDONLY); in run()
/openbsd-src/usr.sbin/ftp-proxy/
H A Dftp-proxy.c776 devnull = open(_PATH_DEVNULL, O_RDWR); in main()
778 err(1, "open(%s)", _PATH_DEVNULL); in main()
/openbsd-src/usr.bin/rdist/
H A Dcommon.c689 (void) open(_PATH_DEVNULL, O_RDONLY); in runcommand()

12