/external/dropbear/ |
cli-session.c | 217 int devnull; local 220 devnull = open(_PATH_DEVNULL, O_RDONLY); 221 if (devnull < 0) { 225 dup2(devnull, STDIN_FILENO);
|
/external/chromium/chrome/browser/ |
shell_integration_linux.cc | 51 int devnull = open("/dev/null", O_RDONLY); local 52 if (devnull < 0) 55 no_stdin.push_back(std::make_pair(devnull, STDIN_FILENO)); 59 close(devnull); 62 close(devnull);
|
/external/wpa_supplicant_8/src/utils/ |
os_unix.c | 125 int devnull; local 130 devnull = open("/dev/null", O_RDWR); 131 if (devnull < 0) 134 if (dup2(devnull, STDIN_FILENO) < 0) { 135 close(devnull); 139 if (dup2(devnull, STDOUT_FILENO) < 0) { 140 close(devnull); 144 if (dup2(devnull, STDERR_FILENO) < 0) { 145 close(devnull);
|
/external/openssl/ssl/ |
d1_both.c | 630 unsigned char devnull [256]; local 635 devnull, 636 frag_len>sizeof(devnull)?sizeof(devnull):frag_len,0); 720 unsigned char devnull [256]; local 725 devnull, 726 frag_len>sizeof(devnull)?sizeof(devnull):frag_len,0); [all...] |
/external/openssh/ |
ssh.c | 960 int devnull; local 987 if ((devnull = open(_PATH_DEVNULL, O_RDWR)) == -1) { 991 if (dup2(devnull, STDIN_FILENO) == -1 || 992 dup2(devnull, STDOUT_FILENO) == -1) 994 if (devnull > STDERR_FILENO) 995 close(devnull); [all...] |
mux.c | 1639 int devnull, rawmode; local 1802 int devnull; local [all...] |
/system/core/sh/ |
jobs.c | 900 const char *devnull = _PATH_DEVNULL; local 935 if (open(devnull, O_RDONLY) != 0) 936 error(nullerr, devnull); 946 if (open(devnull, O_RDONLY) != 0) 947 error(nullerr, devnull);
|