Subject: Re: syslog_r (Re: CVS commit: src/lib/libc)
To: None <tech-userlevel@NetBSD.org>
From: SODA Noriyuki <soda@sra.co.jp>
List: tech-userlevel
Date: 10/27/2006 01:45:23
>> As I said elsewhere, I think it would useful for PAM modules and
>> possibly other libraries.  There are times inside PAM modules where  
>> one
>> really wants to make a log entry, but can't be sure if openlog() has
>> been called or what facility was used.

> This is a reasonable justification.  

And it matches with the Tru64's syslog_r() behavior:
http://h30097.www3.hp.com/docs/base_doc/DOCUMENTATION/V51B_HTML/MAN/MAN3/1847____.HTM

It does support floating point format too.

On the other hand, syslog_r() on Tru64 is not async-signal-safe:

http://h30097.www3.hp.com/docs/base_doc/DOCUMENTATION/V51_HTML/MAN/MAN4/0226____.HTM
-- 
soda