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()3378 (void)dup2(nulldesc, STDIN_FILENO); in waitdaemon()3379 (void)dup2(nulldesc, STDOUT_FILENO); in waitdaemon()3380 (void)dup2(nulldesc, STDERR_FILENO); in waitdaemon()3716 dup2(nulldesc, STDOUT_FILENO); in p_open()3717 dup2(nulldesc, STDERR_FILENO); in p_open()