summaryrefslogtreecommitdiff
path: root/lib/libc/net/getipnodebyname.3
diff options
context:
space:
mode:
authorBrian Feldman <green@FreeBSD.org>2004-02-25 21:03:46 +0000
committerBrian Feldman <green@FreeBSD.org>2004-02-25 21:03:46 +0000
commit33dee819339974eaf7dbf69068001771cbdcd548 (patch)
tree9638e0bc7f96f243bb180d862cc5f1093a53454c /lib/libc/net/getipnodebyname.3
parent59b4f7f45e04e06c04c5928e6750e43c2562a6ff (diff)
Notes
Diffstat (limited to 'lib/libc/net/getipnodebyname.3')
-rw-r--r--lib/libc/net/getipnodebyname.311
1 files changed, 9 insertions, 2 deletions
diff --git a/lib/libc/net/getipnodebyname.3 b/lib/libc/net/getipnodebyname.3
index d0b0b8cffefe..1ade42d2cee8 100644
--- a/lib/libc/net/getipnodebyname.3
+++ b/lib/libc/net/getipnodebyname.3
@@ -455,6 +455,15 @@ are documented in
(RFC2553).
.\"
.Sh BUGS
+Although the current implementation is otherwise thread-safe, using
+it in conjunction with
+.Fn gethostby*
+(see
+.Xr gethostbyname 3 )
+or
+.Xr yp 8
+breaks the thread-safety of both.
+.Pp
The
.Fn getipnodebyname
and
@@ -469,6 +478,4 @@ and
.Fn getnameinfo 3
are recommended.
.Pp
-The current implementation is not thread-safe.
-.Pp
The text was shamelessly copied from RFC2553.