cvs commit: src/lib/libc/net getproto.c getprotoent.c getprotoname.c netdb_private.h

Hajimu UMEMOTO ume at freebsd.org
Tue Apr 19 12:40:42 PDT 2005


Hi,

>>>>> On Tue, 19 Apr 2005 15:25:12 -0400 (EDT)
>>>>> Daniel Eischen <deischen at freebsd.org> said:

deischen> Nevermind.  I just saw the #defines in netdb_private.h.  Is there
deischen> a reason why these are all #defined instead of just being declared
deischen> as __foo()?

I don't intend to expose *_r().  However many OSs provide *_r()
already, and someone may want to expose them.
The API was taken from AIX, HP and Digital.  OpenBSD choose this API,
too.

Sincerely,

--
Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan
ume at mahoroba.org  ume@{,jp.}FreeBSD.org
http://www.imasy.org/~ume/


More information about the cvs-all mailing list