[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RFS: libexplain



On Wednesday 2008 December 24 08:19:27 George Danchev wrote:
> strerror_r(3) (which is
> GNU-specific, ok)

SUSv3 introduced strerror_r as well, as part of the "Thread Safe Functions" 
option.  The two definitions are incompatible, but both available in glibc!
[1]  I favor the SUSv3 interface/semantics, but I understand that the GNU 
version predates it by some time.

[1] I don't completely understand the technical details, but if your code 
indicates _XOPEN_SOURCE >= 600 and not _GNU_SOURCE you can get the SUSv3 
version.  Otherwise you get the GNU version.
-- 
Boyd Stephen Smith Jr.                     ,= ,-_-. =. 
bss@iguanasuicide.net                     ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy           `-'(. .)`-' 
http://iguanasuicide.net/                      \_/     

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: