Subject: Re: syslog_r (Re: CVS commit: src/lib/libc)
To: SODA Noriyuki <soda@sra.co.jp>
From: Christos Zoulas <christos@zoulas.com>
List: tech-userlevel
Date: 10/26/2006 10:26:15
On Oct 26, 11:08pm, soda@sra.co.jp (SODA Noriyuki) wrote:
-- Subject: Re: syslog_r (Re: CVS commit: src/lib/libc)

| >>>>> On Thu, 26 Oct 2006 10:06:22 -0400,
|       christos@zoulas.com (Christos Zoulas) said:
| 
| > I think that it is useful for a program to be able to syslog()
| > from an "unsafe" context. What do others think?
| 
| Even if that's useful, it's better to avoid the name like syslog_r(),
| because the name implys that its format string is fully compatible
| with syslog(), but actually it won't be compatible, as Thor said.

The only thing it will be missing is floating point formats and this
can be noted in the man page. It is not like there are a lot of syslog
messages that use floating point numbers.

christos