Skip site navigation (1)Skip section navigation (2)
Date:      01 Jun 2002 19:49:57 +0200
From:      Dag-Erling Smorgrav <des@ofug.org>
To:        Peter Haight <peterh@sapros.com>
Cc:        hackers@freebsd.org
Subject:   Re: Is gethostbyname2() reentrant?
Message-ID:  <xzpznye6g8q.fsf@flood.ping.uio.no>
In-Reply-To: <200205312050.g4VKofvj057191@wartch.sapros.com>
References:  <200205312050.g4VKofvj057191@wartch.sapros.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Peter Haight <peterh@sapros.com> writes:
> If I link with libc_r can I use gethostbyname2() at the same time in two
> different threads?

Use getaddrinfo() instead.

DES
-- 
Dag-Erling Smorgrav - des@ofug.org

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpznye6g8q.fsf>