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()3399 (void)dup2(nulldesc, STDIN_FILENO); in waitdaemon()3400 (void)dup2(nulldesc, STDOUT_FILENO); in waitdaemon()3401 (void)dup2(nulldesc, STDERR_FILENO); in waitdaemon()3737 dup2(nulldesc, STDOUT_FILENO); in p_open()3738 dup2(nulldesc, STDERR_FILENO); in p_open()