Searched refs:nulldesc (Results 1 – 2 of 2) sorted by relevance
217 nulldesc: /* offset = 0x0 */ label
291 static int nulldesc; /* /dev/null descriptor */ variable699 nulldesc = open(_PATH_DEVNULL, O_RDWR); in main()700 if (nulldesc == -1) { in main()3397 (void)dup2(nulldesc, STDIN_FILENO); in waitdaemon()3398 (void)dup2(nulldesc, STDOUT_FILENO); in waitdaemon()3399 (void)dup2(nulldesc, STDERR_FILENO); in waitdaemon()3735 dup2(nulldesc, STDOUT_FILENO); in p_open()3736 dup2(nulldesc, STDERR_FILENO); in p_open()