summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2005-04-26 18:04:09 +0000
committerume <ume@FreeBSD.org>2005-04-26 18:04:09 +0000
commit6d6f9267f1415c07097fc5f4b8cc9bd1bfaefc60 (patch)
treedd4936ce8876d04fa786c1f7080ea969617d5174 /lib/libc
parentfe63b8eb76b33508844edd761f2019b054590955 (diff)
downloadFreeBSD-src-6d6f9267f1415c07097fc5f4b8cc9bd1bfaefc60.zip
FreeBSD-src-6d6f9267f1415c07097fc5f4b8cc9bd1bfaefc60.tar.gz
our get{proto,serv}by*() use a thread-specific data space.
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/net/getprotoent.32
-rw-r--r--lib/libc/net/getservent.32
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/net/getprotoent.3 b/lib/libc/net/getprotoent.3
index b30b95b..e15ad01 100644
--- a/lib/libc/net/getprotoent.3
+++ b/lib/libc/net/getprotoent.3
@@ -143,7 +143,7 @@ and
functions appeared in
.Bx 4.2 .
.Sh BUGS
-These functions use a static data space;
+These functions use a thread-specific data space;
if the data is needed for future use, it should be
copied before any subsequent calls overwrite it.
Only the Internet
diff --git a/lib/libc/net/getservent.3 b/lib/libc/net/getservent.3
index 26399b5..8c43c8f 100644
--- a/lib/libc/net/getservent.3
+++ b/lib/libc/net/getservent.3
@@ -152,7 +152,7 @@ and
functions appeared in
.Bx 4.2 .
.Sh BUGS
-These functions use static data storage;
+These functions use a thread-specific data storage;
if the data is needed for future use, it should be
copied before any subsequent calls overwrite it.
Expecting port numbers to fit in a 32 bit
OpenPOWER on IntegriCloud