On Wed, 30 Aug 2017 20:04:57 +0200, Alexander Bluhm wrote:

> On Wed, Aug 30, 2017 at 10:35:16AM -0600, Todd C. Miller wrote:
> > We don't actually have any log file descriptors since we have
> > sendsyslog(2) so make the description a bit more generic.
> > It is also closer to what POSIX says.
> > 
> > OK?
> 
> The term "log file" could be misunderstood as refering to a log file.
> 
> Is "... will close any open file descriptor for logging." better?

Possibly.  I don't like using "log file" either.  POSIX says any
file descriptors opened by openlog() or syslog().  So perhaps:

The
.Fn closelog
function will close any file descriptors opened by the
.Fn openlog ,
.Fn openlog_r ,
.Fn syslog
or
.Fn syslog_r
functions.

What do you think?

 - todd

Reply via email to