Searched refs:nulldesc (Results 1 – 2 of 2) sorted by relevance
217 nulldesc: /* offset = 0x0 */ label
291 static int nulldesc; /* /dev/null descriptor */ variable698 nulldesc = open(_PATH_DEVNULL, O_RDWR); in main()699 if (nulldesc == -1) { in main()3470 (void)dup2(nulldesc, STDIN_FILENO); in waitdaemon()3471 (void)dup2(nulldesc, STDOUT_FILENO); in waitdaemon()3472 (void)dup2(nulldesc, STDERR_FILENO); in waitdaemon()3809 dup2(nulldesc, STDOUT_FILENO); in p_open()3810 dup2(nulldesc, STDERR_FILENO); in p_open()