Home
last modified time | relevance | path

Searched refs:fd_devnull (Results 1 – 3 of 3) sorted by relevance

/external/ppp/pppd/
Dmain.c170 int fd_devnull; /* fd for /dev/null */ variable
465 fd_devnull = open(_PATH_DEVNULL, O_RDWR);
466 if (fd_devnull < 0)
468 while (fd_devnull <= 2) {
469 i = dup(fd_devnull);
472 fd_devnull = i;
820 dup2(fd_devnull, 0); in detach()
821 dup2(fd_devnull, 1); in detach()
822 dup2(fd_devnull, 2); in detach()
1595 while ((fd = dup(fd_devnull)) >= 0) { in safe_fork()
[all …]
Dtty.c662 dup2(fd_devnull, 0); in connect_tty()
663 dup2(fd_devnull, 1); in connect_tty()
667 dup2(fd_devnull, 2); in connect_tty()
Dpppd.h249 extern int fd_devnull; /* fd open to /dev/null */