_PATH_DEVNULL
memf = nlistf = _PATH_DEVNULL;
if (open(_PATH_DEVNULL, O_RDONLY) != 0)
_PATH_DEVNULL, strerror(errno));
if (open(_PATH_DEVNULL, O_RDONLY) != 0)
_PATH_DEVNULL, strerror(errno));
SSH_X11_PROTO, _PATH_DEVNULL);
_PATH_DEVNULL);
"%s %s%s list %s 2>" _PATH_DEVNULL,
#ifndef _PATH_DEVNULL
if ((nullfd = dupfd = open(_PATH_DEVNULL, O_RDWR)) == -1) {
if ((devnull = open(_PATH_DEVNULL, O_RDWR)) == -1) {
error_f("open %s: %s", _PATH_DEVNULL,
if ((devnull = open(_PATH_DEVNULL, O_RDWR)) == -1) {
error("%s: open %s: %s", tag, _PATH_DEVNULL,
if ((fd0 = open(_PATH_DEVNULL, O_RDONLY)) == -1)
if ((fd = open(_PATH_DEVNULL, O_RDWR)) < 2)
in = open(_PATH_DEVNULL, O_RDONLY);
if ((devnull = open(_PATH_DEVNULL, O_RDWR)) == -1)
fatal("open %s: %s", _PATH_DEVNULL, strerror(errno));
fatal("dup %s: %s", _PATH_DEVNULL, strerror(errno));
if (strcmp(buf, _PATH_DEVNULL) != 0)
if (!noclose && (fd = _open(_PATH_DEVNULL, O_RDWR, 0)) != -1) {
if (strcmp(mf, _PATH_DEVNULL) == 0) {
kd->vmfd = open(_PATH_DEVNULL, O_RDONLY);
freopen(_PATH_DEVNULL, "w", stderr);
if ((nullfd = open(_PATH_DEVNULL, O_RDWR, 0)) == -1)
error("cannot open %s: %m", _PATH_DEVNULL);
terminal = fopen(_PATH_DEVNULL, "r");
_PATH_DEVNULL, strerror(errno));
s = open(_PATH_DEVNULL, O_WRONLY, 0);
fd = open(_PATH_DEVNULL, O_RDWR);
f1 = fopen(_PATH_DEVNULL, "r");
f2 = fopen(_PATH_DEVNULL, "r");
out_creating = strcmp(source_file, _PATH_DEVNULL) == 0;
source_file = xstrdup(_PATH_DEVNULL);
if (strnEQ(at, _PATH_DEVNULL, sizeof(_PATH_DEVNULL) - 1)) {
coref = _PATH_DEVNULL;
memf = nlistf = _PATH_DEVNULL;
fd = open(_PATH_DEVNULL, O_RDONLY);
if (flags & DIRECTORY || strcmp(from_name, _PATH_DEVNULL)) {
fd = open(_PATH_DEVNULL, O_RDWR, 0);
log_warn("cannot open %s", _PATH_DEVNULL);
nullfd = open(_PATH_DEVNULL, O_RDWR, 0);
log_err(1, "cannot open %s", _PATH_DEVNULL);
open(_PATH_DEVNULL, O_RDWR);
open(_PATH_DEVNULL, O_RDWR);
open(_PATH_DEVNULL, O_RDWR);
if (!(f = fopen(_PATH_DEVNULL, "r")))
err(ERROR_EXIT, _PATH_DEVNULL);
close(STDIN); open(_PATH_DEVNULL, 0);
close(STDOUT); open(_PATH_DEVNULL, 1);
close(STDERR); open(_PATH_DEVNULL, 2);
open(_PATH_DEVNULL, O_WRONLY);
open(_PATH_DEVNULL, O_WRONLY);
if (open(_PATH_DEVNULL, O_RDWR) != STDERR_FILENO) {
_PATH_DEVNULL, strerror(errno));
open(_PATH_DEVNULL, O_RDWR); /* Leave it closed if it fails... */
else if ((fd = open(_PATH_DEVNULL, O_RDWR)) == -1) {
_PATH_DEVNULL, strerror(errno));
if ((holdfd[0] = open(_PATH_DEVNULL, O_RDWR)) == -1) {
fprintf(stderr, "Cannot open %s !\n", _PATH_DEVNULL);
freopen(_PATH_DEVNULL, "w", stderr);
if ((fd = open(_PATH_DEVNULL, O_WRONLY)) != 1) {
syslog(LOG_ERR, "open %s: %m", _PATH_DEVNULL);
if (!noclose && (fd = open(_PATH_DEVNULL, O_RDWR, 0)) != -1) {
if ((nulldesc = open(_PATH_DEVNULL, O_RDWR)) == -1)