Searched refs:_PATH_DEVNULL (Results 1 – 18 of 18) sorted by relevance
/external/openssh/openbsd-compat/ |
D | daemon.c | 71 if (!noclose && (fd = open(_PATH_DEVNULL, O_RDWR, 0)) != -1) { in daemon()
|
/external/ppp/pppd/ |
D | pathnames.h | 14 #define _PATH_DEVNULL "/dev/null" macro
|
D | main.c | 442 fd_devnull = open(_PATH_DEVNULL, O_RDWR); 444 fatal("Couldn't open %s: %m", _PATH_DEVNULL);
|
/external/google-breakpad/src/tools/linux/dump_syms/ |
D | dump_syms.cc | 104 if (freopen(_PATH_DEVNULL, "w", stderr)) { in main()
|
/external/openssh/ |
D | defines.h | 445 #ifndef _PATH_DEVNULL 446 # define _PATH_DEVNULL "/dev/null" macro
|
D | readpass.c | 254 if ((devnull = open(_PATH_DEVNULL, O_RDWR)) == -1) in notify_start()
|
D | ssh-keysign.c | 180 if ((fd = open(_PATH_DEVNULL, O_RDWR)) < 2) in main()
|
D | sshconnect.c | 110 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()
|
D | ssh.c | 1696 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()
|
D | auth.c | 935 if ((devnull = open(_PATH_DEVNULL, O_RDWR)) == -1) { in subprocess() 936 error("%s: open %s: %s", tag, _PATH_DEVNULL, in subprocess()
|
D | clientloop.c | 342 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()
|
D | sshd.c | 983 if ((fd = open(_PATH_DEVNULL, O_RDWR, 0)) != -1) { 2075 if ((fd = open(_PATH_DEVNULL, O_RDWR, 0)) != -1) {
|
D | mux.c | 1917 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()
|
D | ssh-agent.c | 1396 if ((fd = open(_PATH_DEVNULL, O_RDWR, 0)) != -1) { in main()
|
D | misc.c | 1210 if ((nullfd = dupfd = open(_PATH_DEVNULL, O_RDWR)) == -1) { in sanitise_stdfd()
|
D | monitor.c | 1573 if ((fd0 = open(_PATH_DEVNULL, O_RDONLY)) == -1) in mm_answer_pty()
|
D | readconf.c | 523 if ((devnull = open(_PATH_DEVNULL, O_RDWR)) == -1) in execute_in_shell()
|
/external/libchrome/base/ |
D | logging.cc | 645 if (stat(_PATH_DEVNULL, &dev_null_stat) == -1) { in ~LogMessage()
|