Subject: Re: What replaces gethostent?
To: Johan Danielsson <>
From: Simon J. Gerraty <>
List: tech-userlevel
Date: 06/25/2002 01:19:55
>> So I've discovered that gethostent() is now #ifdef'd out of our
>> libc.  I've got an ugly workaround for the JDK, but was wondering if
>> there is an official replacement for gethostent()?

>#define gethostent() NULL

>What does JDK expect it to accomplish?

Not much I think.  I'm not sure why its even there - couldn't find anything
that would end up calling it - on netbsd anyway.  I just #if 0'd it out
for now.  I can't be sure that's ok though as there are worse problems than
that to solve before I can get anything thread related to work.