summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2000-08-09 23:12:05 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2000-08-09 23:12:05 +0000
commitad4cd1f6669755dfa5db6525909b031b9fee7918 (patch)
tree7f7ae37a21569ef751b7b2e1174409bcde9cbc24
parentc2055611e1b893d127e227d04e4d33081ec2b0ee (diff)
document that the current implementation is not thread-safe. sync with kame.
From: "Greg Thompson" <johnnyteardrop@hotmail.com>
-rw-r--r--lib/libc/net/getaddrinfo.36
-rw-r--r--lib/libc/net/getnameinfo.311
2 files changed, 11 insertions, 6 deletions
diff --git a/lib/libc/net/getaddrinfo.3 b/lib/libc/net/getaddrinfo.3
index bff0344848c..4f495457a3f 100644
--- a/lib/libc/net/getaddrinfo.3
+++ b/lib/libc/net/getaddrinfo.3
@@ -1,5 +1,5 @@
-.\" $OpenBSD: getaddrinfo.3,v 1.10 2000/07/25 04:52:55 itojun Exp $
-.\" $KAME: getaddrinfo.3,v 1.21 2000/07/25 04:49:42 itojun Exp $
+.\" $OpenBSD: getaddrinfo.3,v 1.11 2000/08/09 23:12:04 itojun Exp $
+.\" $KAME: getaddrinfo.3,v 1.22 2000/08/09 21:16:17 itojun Exp $
.\"
.\" Copyright (c) 1983, 1987, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -581,4 +581,6 @@ and documented in
.Pq RFC2553 .
.\"
.Sh BUGS
+The current implementation is not thread-safe.
+.Pp
The text was shamelessly copied from RFC2553.
diff --git a/lib/libc/net/getnameinfo.3 b/lib/libc/net/getnameinfo.3
index 1b7b56296f8..0f52f6e993f 100644
--- a/lib/libc/net/getnameinfo.3
+++ b/lib/libc/net/getnameinfo.3
@@ -1,5 +1,5 @@
-.\" $OpenBSD: getnameinfo.3,v 1.8 2000/06/30 16:52:44 itojun Exp $
-.\" $KAME: getnameinfo.3,v 1.14 2000/06/30 16:46:00 itojun Exp $
+.\" $OpenBSD: getnameinfo.3,v 1.9 2000/08/09 23:12:04 itojun Exp $
+.\" $KAME: getnameinfo.3,v 1.17 2000/08/09 21:16:17 itojun Exp $
.\"
.\" Copyright (c) 1983, 1987, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -57,7 +57,8 @@ function is defined for protocol-independent address-to-nodename translation.
Its functionality is a reverse conversion of
.Xr getaddrinfo 3 ,
and implements similar functionality with
-.Xr gethostbyaddr 3 and
+.Xr gethostbyaddr 3
+and
.Xr getservbyport 3
in more sophisticated manner.
.Pp
@@ -276,7 +277,7 @@ The error code can be found in errno.
.%A Atsushi Onoe
.%T "An Extension of Format for IPv6 Scoped Addresses"
.%R internet draft
-.%N draft-ietf-ipngwg-scopedaddr-format-01.txt
+.%N draft-ietf-ipngwg-scopedaddr-format-02.txt
.%O work in progress material
.Re
.Rs
@@ -298,4 +299,6 @@ and documented in
.Pq RFC2553 .
.\"
.Sh BUGS
+The current implementation is not thread-safe.
+.Pp
The text was shamelessly copied from RFC2553.