Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/nscd/
H A Dnscd_log.c70 int _logfd = 2; variable
89 if (_logfd >= 0) in _nscd_set_lf()
90 (void) close(_logfd); in _nscd_set_lf()
91 _logfd = -1; in _nscd_set_lf()
95 if (_logfd != -1 && _logfd != 2) in _nscd_set_lf()
96 (void) close(_logfd); in _nscd_set_lf()
97 _logfd = 2; in _nscd_set_lf()
144 (void) close(_logfd); in _nscd_set_lf()
146 _logfd = newlogfd; in _nscd_set_lf()
169 if (_logfd < 0) in _nscd_logit()
[all …]
H A Dserver.c61 extern int _logfd;
449 if (_logfd != 2) in main()
529 if (_logfd > 0) { in detachfromtty()
531 for (i = 0; i < _logfd; i++) in detachfromtty()
533 closefrom(_logfd + 1); in detachfromtty()
559 if (_logfd != 2) in detachfromtty()
H A Dnscd_selfcred.c57 extern int _logfd;
834 if (_logfd > 0) { in _nscd_proc_fork()
836 for (i = 0; i < _logfd; i++) in _nscd_proc_fork()
838 closefrom(_logfd + 1); in _nscd_proc_fork()