Home
last modified time | relevance | path

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

/titanic_50/usr/src/cmd/cmd-inet/usr.lib/pppoe/
H A Dlogging.c51 static int curlogfd = -1; /* Current log file */ variable
91 if (curlogfd == -1) in doclose()
93 if ((curlogfd != STDERR_FILENO) || (curfname != stderr_name)) in doclose()
94 retval = close(curlogfd); in doclose()
95 curlogfd = -1; in doclose()
125 if (curlogfd >= 0) { in vlogat()
180 if (curlogfd >= 0) { in vlogat()
181 if ((retv = dowrite(curlogfd, timbuf, timlen)) > 0) in vlogat()
182 retv = dowrite(curlogfd, ostr, slen); in vlogat()
272 if (curlogfd >= 0) in log_to_stderr()
[all …]