Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/nscd/
H A Dnscd_log.c72 int _logfd = 2; variable
91 if (_logfd >= 0) in _nscd_set_lf()
92 (void) close(_logfd); in _nscd_set_lf()
93 _logfd = -1; in _nscd_set_lf()
97 if (_logfd != -1 && _logfd != 2) in _nscd_set_lf()
98 (void) close(_logfd); in _nscd_set_lf()
99 _logfd = 2; in _nscd_set_lf()
146 (void) close(_logfd); in _nscd_set_lf()
148 _logfd = newlogfd; in _nscd_set_lf()
171 if (_logfd < 0) in _nscd_logit()
[all …]
H A Dserver.c60 extern int _logfd;
448 if (_logfd != 2) in main()
528 if (_logfd > 0) { in detachfromtty()
530 for (i = 0; i < _logfd; i++) in detachfromtty()
532 closefrom(_logfd + 1); in detachfromtty()
558 if (_logfd != 2) in detachfromtty()
H A Dnscd_selfcred.c56 extern int _logfd;
831 if (_logfd > 0) { in _nscd_proc_fork()
833 for (i = 0; i < _logfd; i++) in _nscd_proc_fork()
835 closefrom(_logfd + 1); in _nscd_proc_fork()