summaryrefslogtreecommitdiffstats
path: root/lib/libc/net/getaddrinfo.3
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2003-09-15 04:52:15 +0000
committerume <ume@FreeBSD.org>2003-09-15 04:52:15 +0000
commit93c02adbfdee5259708c436e90e56efdc7bb2f8a (patch)
tree8e814640f68fc781b496c6423906cc1b2e855f32 /lib/libc/net/getaddrinfo.3
parent3141c7bd5e31956e29535a8e6fd31c90af7144f0 (diff)
downloadFreeBSD-src-93c02adbfdee5259708c436e90e56efdc7bb2f8a.zip
FreeBSD-src-93c02adbfdee5259708c436e90e56efdc7bb2f8a.tar.gz
Our getaddrinfo() and getnameinfo() are thread-safe but
some limitation. Reported by: Marc G. Fournier <scrappy@hub.org>
Diffstat (limited to 'lib/libc/net/getaddrinfo.3')
-rw-r--r--lib/libc/net/getaddrinfo.36
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libc/net/getaddrinfo.3 b/lib/libc/net/getaddrinfo.3
index b40f29a..c1932af 100644
--- a/lib/libc/net/getaddrinfo.3
+++ b/lib/libc/net/getaddrinfo.3
@@ -625,6 +625,10 @@ and documented in
(RFC2553).
.\"
.Sh BUGS
-The current implementation is not thread-safe.
+Though the current implementation should be thread-safe, using
+.Fn getaddrinfo
+in conjunction with
+.Fn gethostby*
+breaks thread-safeness.
.Pp
The text was shamelessly copied from RFC2553.
OpenPOWER on IntegriCloud