summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/net/getaddrinfo.36
-rw-r--r--lib/libc/net/getnameinfo.36
2 files changed, 10 insertions, 2 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.
diff --git a/lib/libc/net/getnameinfo.3 b/lib/libc/net/getnameinfo.3
index 3267f43..bf197dc 100644
--- a/lib/libc/net/getnameinfo.3
+++ b/lib/libc/net/getnameinfo.3
@@ -301,7 +301,11 @@ and documented in
(RFC2553).
.\"
.Sh BUGS
-The current implementation is not thread-safe.
+Though the current implementation should be thread-safe, using
+.Fn getnameinfo
+in conjunction with
+.Fn gethostby*
+breaks thread-safeness.
.Pp
The text was shamelessly copied from RFC2553.
.Pp
OpenPOWER on IntegriCloud