Home
last modified time | relevance | path

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

/external/openssh/openbsd-compat/
Ddaemon.c71 if (!noclose && (fd = open(_PATH_DEVNULL, O_RDWR, 0)) != -1) { in daemon()
/external/ppp/pppd/
Dpathnames.h14 #define _PATH_DEVNULL "/dev/null" macro
Dmain.c442 fd_devnull = open(_PATH_DEVNULL, O_RDWR);
444 fatal("Couldn't open %s: %m", _PATH_DEVNULL);
/external/google-breakpad/src/tools/linux/dump_syms/
Ddump_syms.cc104 if (freopen(_PATH_DEVNULL, "w", stderr)) { in main()
/external/openssh/
Ddefines.h445 #ifndef _PATH_DEVNULL
446 # define _PATH_DEVNULL "/dev/null" macro
Dreadpass.c254 if ((devnull = open(_PATH_DEVNULL, O_RDWR)) == -1) in notify_start()
Dssh-keysign.c180 if ((fd = open(_PATH_DEVNULL, O_RDWR)) < 2) in main()
Dsshconnect.c110 if ((devnull = open(_PATH_DEVNULL, O_WRONLY)) == -1) { in stderr_null()
112 _PATH_DEVNULL, strerror(errno)); in stderr_null()
118 error("Cannot redirect stderr to %s", _PATH_DEVNULL); in stderr_null()
Dssh.c1696 if ((devnull = open(_PATH_DEVNULL, O_RDWR)) == -1) { in control_persist_detach()
1990 in = open(_PATH_DEVNULL, O_RDONLY); in ssh_session2_open()
2120 if ((devnull = open(_PATH_DEVNULL, O_WRONLY)) == -1) in ssh_session2()
2122 _PATH_DEVNULL, strerror(errno)); in ssh_session2()
Dauth.c935 if ((devnull = open(_PATH_DEVNULL, O_RDWR)) == -1) { in subprocess()
936 error("%s: open %s: %s", tag, _PATH_DEVNULL, in subprocess()
Dclientloop.c342 SSH_X11_PROTO, _PATH_DEVNULL); in client_x11_get_proto()
356 _PATH_DEVNULL); in client_x11_get_proto()
381 "%s %s%s list %s 2>" _PATH_DEVNULL, in client_x11_get_proto()
Dsshd.c983 if ((fd = open(_PATH_DEVNULL, O_RDWR, 0)) != -1) {
2075 if ((fd = open(_PATH_DEVNULL, O_RDWR, 0)) != -1) {
Dmux.c1917 if ((devnull = open(_PATH_DEVNULL, O_RDONLY)) == -1) in mux_client_request_session()
2152 if ((devnull = open(_PATH_DEVNULL, O_RDONLY)) == -1) in mux_client_request_stdio_fwd()
Dssh-agent.c1396 if ((fd = open(_PATH_DEVNULL, O_RDWR, 0)) != -1) { in main()
Dmisc.c1210 if ((nullfd = dupfd = open(_PATH_DEVNULL, O_RDWR)) == -1) { in sanitise_stdfd()
Dmonitor.c1573 if ((fd0 = open(_PATH_DEVNULL, O_RDONLY)) == -1) in mm_answer_pty()
Dreadconf.c523 if ((devnull = open(_PATH_DEVNULL, O_RDWR)) == -1) in execute_in_shell()
/external/libchrome/base/
Dlogging.cc645 if (stat(_PATH_DEVNULL, &dev_null_stat) == -1) { in ~LogMessage()