Searched refs:_PATH_DEVNULL (Results 1 - 22 of 22) sorted by relevance

/external/dropbear/
H A Dcompat.h52 #ifndef _PATH_DEVNULL
53 #define _PATH_DEVNULL "/dev/null" macro
H A Dcompat.c180 if (!noclose && (fd = open(_PATH_DEVNULL, O_RDWR, 0)) != -1) {
H A Dcli-session.c220 devnull = open(_PATH_DEVNULL, O_RDONLY);
H A Dscpmisc.c233 if ((nullfd = dupfd = open(_PATH_DEVNULL, O_RDWR)) == -1) {
/external/openssh/openbsd-compat/
H A Ddaemon.c71 if (!noclose && (fd = open(_PATH_DEVNULL, O_RDWR, 0)) != -1) {
/external/ppp/pppd/
H A Dpathnames.h14 #define _PATH_DEVNULL "/dev/null" macro
H A Dmain.c468 fd_devnull = open(_PATH_DEVNULL, O_RDWR);
470 fatal("Couldn't open %s: %m", _PATH_DEVNULL);
/external/dhcpcd/
H A Dbind.c50 #ifndef _PATH_DEVNULL
51 # define _PATH_DEVNULL "/dev/null" macro
89 if ((fd = open(_PATH_DEVNULL, O_RDWR, 0)) != -1) {
H A Dcommon.c59 #ifndef _PATH_DEVNULL
60 # define _PATH_DEVNULL "/dev/null" macro
/external/libppp/src/
H A Dmain.c319 if ((holdfd[0] = open(_PATH_DEVNULL, O_RDWR)) == -1) {
320 fprintf(stderr, "Cannot open %s !\n", _PATH_DEVNULL);
H A Dchap.c309 if (open(_PATH_DEVNULL, O_RDWR) != STDERR_FILENO) {
311 _PATH_DEVNULL, strerror(errno));
H A Dchat.c742 open(_PATH_DEVNULL, O_RDWR); /* Leave it closed if it fails... */
H A Dcommand.c658 else if ((fd = open(_PATH_DEVNULL, O_RDWR)) == -1) {
660 _PATH_DEVNULL, strerror(errno));
/external/openssh/
H A Ddefines.h388 #ifndef _PATH_DEVNULL
389 # define _PATH_DEVNULL "/dev/null" macro
H A Dssh-keysign.c163 if ((fd = open(_PATH_DEVNULL, O_RDWR)) < 2)
H A Dssh.c987 if ((devnull = open(_PATH_DEVNULL, O_RDWR)) == -1) {
1367 in = open(_PATH_DEVNULL, O_RDONLY);
H A Dclientloop.c333 " untrusted timeout %u 2>" _PATH_DEVNULL,
355 "%s %s%s list %s 2>" _PATH_DEVNULL,
H A Dmux.c1651 if ((devnull = open(_PATH_DEVNULL, O_RDONLY)) == -1)
1814 if ((devnull = open(_PATH_DEVNULL, O_RDONLY)) == -1)
H A Dsshd.c1008 if ((fd = open(_PATH_DEVNULL, O_RDWR, 0)) != -1) {
1868 if ((fd = open(_PATH_DEVNULL, O_RDWR, 0)) != -1) {
H A Dmisc.c722 if ((nullfd = dupfd = open(_PATH_DEVNULL, O_RDWR)) == -1) {
H A Dssh-agent.c1324 if ((fd = open(_PATH_DEVNULL, O_RDWR, 0)) != -1) {
H A Dmonitor.c1455 if ((fd0 = open(_PATH_DEVNULL, O_RDONLY)) < 0)

Completed in 407 milliseconds