/freebsd-current/lib/libcasper/libcasper/ |
H A D | service.c | 367 fd = open(_PATH_DEVNULL, O_RDWR); 369 errx(1, "Unable to open %s", _PATH_DEVNULL);
|
/freebsd-current/contrib/bmake/ |
H A D | util.c | 398 #ifndef _PATH_DEVNULL 399 # define _PATH_DEVNULL "/dev/null" 409 nullfp = fopen(_PATH_DEVNULL, "w");
|
/freebsd-current/sbin/dumpon/ |
H A D | dumpon.c | 396 (void)strlcpy(dumpdev, _PATH_DEVNULL, sizeof(dumpdev)); 582 dev = _PATH_DEVNULL; 587 if (strcmp(dev, _PATH_DEVNULL) == 0) {
|
/freebsd-current/contrib/tcsh/ |
H A D | sh.misc.c | 292 (void) xopen(_PATH_DEVNULL, O_RDONLY|O_LARGEFILE); 340 int fd = xopen(_PATH_DEVNULL, O_RDONLY|O_LARGEFILE);
|
/freebsd-current/usr.sbin/cron/crontab/ |
H A D | crontab.c | 324 if (!(f = fopen(_PATH_DEVNULL, "r"))) 325 err(ERROR_EXIT, _PATH_DEVNULL);
|
/freebsd-current/usr.sbin/ppp/ |
H A D | main.c | 320 if ((holdfd[0] = open(_PATH_DEVNULL, O_RDWR)) == -1) { 321 fprintf(stderr, "Cannot open %s !\n", _PATH_DEVNULL);
|
H A D | chap.c | 309 if (open(_PATH_DEVNULL, O_RDWR) != STDERR_FILENO) { 311 _PATH_DEVNULL, strerror(errno));
|
/freebsd-current/usr.bin/mail/ |
H A D | collect.c | 335 if ((nullfd = open(_PATH_DEVNULL, O_RDONLY, 0)) 337 warn(_PATH_DEVNULL);
|
/freebsd-current/lib/libkvm/ |
H A D | kvm.c | 160 if (strcmp(mf, _PATH_DEVNULL) == 0) { 161 kd->vmfd = open(_PATH_DEVNULL, O_RDONLY | O_CLOEXEC);
|
/freebsd-current/usr.sbin/lpr/lpd/ |
H A D | recvjob.c | 106 (void) open(_PATH_DEVNULL, O_WRONLY);
|
/freebsd-current/crypto/openssh/ |
H A D | ssh-keysign.c | 192 if ((fd = open(_PATH_DEVNULL, O_RDWR)) < 2)
|
H A D | defines.h | 453 #ifndef _PATH_DEVNULL 454 # define _PATH_DEVNULL "/dev/null" macro
|
H A D | misc.c | 1500 if ((nullfd = dupfd = open(_PATH_DEVNULL, O_RDWR)) == -1) { 2685 if ((devnull = open(_PATH_DEVNULL, O_RDWR)) == -1) { 2686 error_f("open %s: %s", _PATH_DEVNULL, 2802 if ((devnull = open(_PATH_DEVNULL, O_RDWR)) == -1) { 2803 error("%s: open %s: %s", tag, _PATH_DEVNULL,
|
/freebsd-current/sbin/mdmfs/ |
H A D | mdmfs.c | 785 nfd = open(_PATH_DEVNULL, O_RDWR); 787 err(1, "open: %s", _PATH_DEVNULL);
|
/freebsd-current/sbin/swapon/ |
H A D | swapon.c | 652 nfd = open(_PATH_DEVNULL, O_RDWR); 654 err(1, "%s: open %s", __func__, _PATH_DEVNULL);
|
/freebsd-current/contrib/netbsd-tests/lib/libc/stdio/ |
H A D | t_fopen.c | 316 static const char *devs[] = { _PATH_DEVNULL };
|
/freebsd-current/contrib/netbsd-tests/lib/libc/sys/ |
H A D | t_poll.c | 353 fd = open(_PATH_DEVNULL, O_RDONLY);
|
/freebsd-current/lib/libpam/modules/pam_ssh/ |
H A D | pam_ssh.c | 300 open(_PATH_DEVNULL, O_RDONLY);
|
/freebsd-current/bin/sh/ |
H A D | jobs.c | 942 if (open(_PATH_DEVNULL, O_RDONLY) != 0) 944 _PATH_DEVNULL, strerror(errno)); 954 if (open(_PATH_DEVNULL, O_RDONLY) != 0) 956 _PATH_DEVNULL, strerror(errno));
|
/freebsd-current/usr.sbin/pw/ |
H A D | pw_user.c | 722 freopen(_PATH_DEVNULL, "w", stderr); 790 freopen(_PATH_DEVNULL, "w", stderr); 877 freopen(_PATH_DEVNULL, "w", stderr); 1331 freopen(_PATH_DEVNULL, "w", stderr); 1648 freopen(_PATH_DEVNULL, "w", stderr);
|
/freebsd-current/usr.sbin/autofs/ |
H A D | common.c | 1187 fd = open(_PATH_DEVNULL, O_RDWR, 0); 1189 log_warn("cannot open %s", _PATH_DEVNULL);
|
/freebsd-current/usr.bin/w/ |
H A D | w.c | 153 memf = _PATH_DEVNULL;
|
/freebsd-current/bin/pkill/ |
H A D | pkill.c | 186 coref = _PATH_DEVNULL;
|
/freebsd-current/lib/libnv/tests/ |
H A D | nvlist_send_recv_test.c | 404 fd = open(_PATH_DEVNULL, O_RDONLY);
|
/freebsd-current/sbin/init/ |
H A D | init.c | 595 if ((fd = open(_PATH_DEVNULL, O_RDWR)) == -1) { 2138 open(_PATH_DEVNULL, O_RDONLY);
|