James Carlson wrote:
Darren Reed writes:
Note that I was referring to libnsl only, not libsocket.
In this instance, HP-UX doesn't have a libsocket, only libnsl.
Ah, ok. The original thread was about the combination of libsocket
and libnsl, which are pretty much always used together.
Still, libc on HP-UX has the libnsl interfaces as well:
# nm /usr/lib/libc.2 | grep gethostbyname
__gethostbyname_r | 291296|extern|code |$CODE$
_gethostbyname | 291880|extern|code |$CODE$
gethostbyname | 291816|extern|entry |
gethostbyname | 291880|extern|code |$CODE$
Curious, indeed.
I wonder when (in terms of HP-UX revs) they did this...
Are these present in libc.1?
Darren
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code