summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoritojun <>2000-08-09 23:12:04 +0000
committeritojun <>2000-08-09 23:12:04 +0000
commit41f296aef0f810aae2d1f6380e6aee9f3cb1099d (patch)
tree6e38446b75f38c6029c6d7eef50b6716bc1532e5
parente7ee326c19f94a36d141fc42a2fb26f86a2ce04f (diff)
downloadopenbsd-41f296aef0f810aae2d1f6380e6aee9f3cb1099d.tar.gz
openbsd-41f296aef0f810aae2d1f6380e6aee9f3cb1099d.tar.bz2
openbsd-41f296aef0f810aae2d1f6380e6aee9f3cb1099d.zip
document that the current implementation is not thread-safe. sync with kame.
From: "Greg Thompson" <johnnyteardrop@hotmail.com>
-rw-r--r--src/lib/libc/net/getaddrinfo.36
-rw-r--r--src/lib/libc/net/getnameinfo.311
2 files changed, 11 insertions, 6 deletions
diff --git a/src/lib/libc/net/getaddrinfo.3 b/src/lib/libc/net/getaddrinfo.3
index bff0344848..4f495457a3 100644
--- a/src/lib/libc/net/getaddrinfo.3
+++ b/src/lib/libc/net/getaddrinfo.3
@@ -1,5 +1,5 @@
1.\" $OpenBSD: getaddrinfo.3,v 1.10 2000/07/25 04:52:55 itojun Exp $ 1.\" $OpenBSD: getaddrinfo.3,v 1.11 2000/08/09 23:12:04 itojun Exp $
2.\" $KAME: getaddrinfo.3,v 1.21 2000/07/25 04:49:42 itojun Exp $ 2.\" $KAME: getaddrinfo.3,v 1.22 2000/08/09 21:16:17 itojun Exp $
3.\" 3.\"
4.\" Copyright (c) 1983, 1987, 1991, 1993 4.\" Copyright (c) 1983, 1987, 1991, 1993
5.\" The Regents of the University of California. All rights reserved. 5.\" The Regents of the University of California. All rights reserved.
@@ -581,4 +581,6 @@ and documented in
581.Pq RFC2553 . 581.Pq RFC2553 .
582.\" 582.\"
583.Sh BUGS 583.Sh BUGS
584The current implementation is not thread-safe.
585.Pp
584The text was shamelessly copied from RFC2553. 586The text was shamelessly copied from RFC2553.
diff --git a/src/lib/libc/net/getnameinfo.3 b/src/lib/libc/net/getnameinfo.3
index 1b7b56296f..0f52f6e993 100644
--- a/src/lib/libc/net/getnameinfo.3
+++ b/src/lib/libc/net/getnameinfo.3
@@ -1,5 +1,5 @@
1.\" $OpenBSD: getnameinfo.3,v 1.8 2000/06/30 16:52:44 itojun Exp $ 1.\" $OpenBSD: getnameinfo.3,v 1.9 2000/08/09 23:12:04 itojun Exp $
2.\" $KAME: getnameinfo.3,v 1.14 2000/06/30 16:46:00 itojun Exp $ 2.\" $KAME: getnameinfo.3,v 1.17 2000/08/09 21:16:17 itojun Exp $
3.\" 3.\"
4.\" Copyright (c) 1983, 1987, 1991, 1993 4.\" Copyright (c) 1983, 1987, 1991, 1993
5.\" The Regents of the University of California. All rights reserved. 5.\" The Regents of the University of California. All rights reserved.
@@ -57,7 +57,8 @@ function is defined for protocol-independent address-to-nodename translation.
57Its functionality is a reverse conversion of 57Its functionality is a reverse conversion of
58.Xr getaddrinfo 3 , 58.Xr getaddrinfo 3 ,
59and implements similar functionality with 59and implements similar functionality with
60.Xr gethostbyaddr 3 and 60.Xr gethostbyaddr 3
61and
61.Xr getservbyport 3 62.Xr getservbyport 3
62in more sophisticated manner. 63in more sophisticated manner.
63.Pp 64.Pp
@@ -276,7 +277,7 @@ The error code can be found in errno.
276.%A Atsushi Onoe 277.%A Atsushi Onoe
277.%T "An Extension of Format for IPv6 Scoped Addresses" 278.%T "An Extension of Format for IPv6 Scoped Addresses"
278.%R internet draft 279.%R internet draft
279.%N draft-ietf-ipngwg-scopedaddr-format-01.txt 280.%N draft-ietf-ipngwg-scopedaddr-format-02.txt
280.%O work in progress material 281.%O work in progress material
281.Re 282.Re
282.Rs 283.Rs
@@ -298,4 +299,6 @@ and documented in
298.Pq RFC2553 . 299.Pq RFC2553 .
299.\" 300.\"
300.Sh BUGS 301.Sh BUGS
302The current implementation is not thread-safe.
303.Pp
301The text was shamelessly copied from RFC2553. 304The text was shamelessly copied from RFC2553.