[Ltrace-devel] [PATCH] Use err(3) instead of error(3) as more portable function

Magnus Fromreide magfr at lysator.liu.se
Sun Sep 30 15:29:36 UTC 2012

On Sun, 2012-09-30 at 18:56 +0400, Andrey Zonov wrote:
> On 9/30/12 5:19 PM, Magnus Fromreide wrote:
> > On Sun, 2012-09-30 at 15:17 +0400, Andrey Zonov wrote:
> > 
> > err is BSD extensions. error is GNU extensions.
> > 
> err(3) are in BSD libc and in glibc. error(3) is only in glibc.

Yes. And fprintf + exit is in every libc out there, right?

What I am trying to ask is why you are making it just a little more
portable instead of fully portable?


More information about the Ltrace-devel mailing list