Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Apr 2005 04:40:34 +0900
From:      Hajimu UMEMOTO <ume@freebsd.org>
To:        Daniel Eischen <deischen@freebsd.org>
Cc:        cvs-all@freebsd.org
Subject:   Re: cvs commit: src/lib/libc/net getproto.c getprotoent.c getprotoname.c netdb_private.h
Message-ID:  <yger7h6zhal.wl%ume@mahoroba.org>
In-Reply-To: <Pine.GSO.4.43.0504191523340.6115-100000@sea.ntplx.net>
References:  <Pine.GSO.4.43.0504191516330.6115-100000@sea.ntplx.net> <Pine.GSO.4.43.0504191523340.6115-100000@sea.ntplx.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

>>>>> On Tue, 19 Apr 2005 15:25:12 -0400 (EDT)
>>>>> Daniel Eischen <deischen@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@mahoroba.org  ume@{,jp.}FreeBSD.org
http://www.imasy.org/~ume/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?yger7h6zhal.wl%ume>