Subject: Re: syslog_r (Re: CVS commit: src/lib/libc)
To: der Mouse <mouse@Rodents.Montreal.QC.CA>
From: SODA Noriyuki <soda@sra.co.jp>
List: tech-userlevel
Date: 10/31/2006 07:00:11
>>>>> On Sat, 28 Oct 2006 01:36:41 -0400 (EDT),
      der Mouse <mouse@Rodents.Montreal.QC.CA> said:

>> But POSIX uses the word "reentrant" for the "_r" functions. i.e. What
>> you mean in "reentrant" and what POSIX means in "reentrant" seems to
>> be different.

> Possibly.  I'd have to read their definition of "reentrant", and
> probably think about it a bit, to be sure.

You should.

> Also, if POSIX calls them reentrant, what reason do you have for
> thinking they're only async-signal-safe rather than really being
> reentrant?

POSIX _r functions aren't async-signal-safe.
There are only multithread-safe.
-- 
soda