summaryrefslogtreecommitdiffstats
path: root/lib/libc/net
diff options
context:
space:
mode:
authorcharnier <charnier@FreeBSD.org>2003-02-06 11:04:47 +0000
committercharnier <charnier@FreeBSD.org>2003-02-06 11:04:47 +0000
commit670dc7ec9e1fcc81daf91cffc68795e303560b63 (patch)
tree4398da2631a166f1427319a2ad4058adc32490c7 /lib/libc/net
parent205fd17b03320167a327ac54db62751ff0ecec46 (diff)
downloadFreeBSD-src-670dc7ec9e1fcc81daf91cffc68795e303560b63.zip
FreeBSD-src-670dc7ec9e1fcc81daf91cffc68795e303560b63.tar.gz
The .Fn function
Diffstat (limited to 'lib/libc/net')
-rw-r--r--lib/libc/net/gethostbyname.33
-rw-r--r--lib/libc/net/nsdispatch.319
2 files changed, 12 insertions, 10 deletions
diff --git a/lib/libc/net/gethostbyname.3 b/lib/libc/net/gethostbyname.3
index c6f7b90..ff20251 100644
--- a/lib/libc/net/gethostbyname.3
+++ b/lib/libc/net/gethostbyname.3
@@ -378,5 +378,6 @@ function
cannot perform
.Dv AF_INET6
lookups over NIS.
+The
.Xr getaddrinfo 3
-must be used instead.
+function must be used instead.
diff --git a/lib/libc/net/nsdispatch.3 b/lib/libc/net/nsdispatch.3
index 7839ab0..b87d122 100644
--- a/lib/libc/net/nsdispatch.3
+++ b/lib/libc/net/nsdispatch.3
@@ -189,9 +189,10 @@ Refer to
.Xr nsswitch.conf 5
for a complete description of what each status code is.
.Pp
-.Nm
-returns the value of the callback that caused the dispatcher to finish,
-or NS_NOTFOUND otherwise.
+The
+.Fn nsdispatch
+function returns the value of the callback that caused the dispatcher to
+finish, or NS_NOTFOUND otherwise.
.Sh SEE ALSO
.Xr hesiod 3 ,
.Xr stdarg 3 ,
@@ -199,13 +200,13 @@ or NS_NOTFOUND otherwise.
.Xr nsswitch.conf 5
.Sh HISTORY
The
-.Nm
-routines first appeared in
+.Fn nsdispatch
+function first appeared in
.Fx 5.0 .
-They were imported from the
+It was imported from the
.Nx
Project,
-where they appeared first in
+where it appeared first in
.Nx 1.4 .
.Sh AUTHORS
Luke Mewburn
@@ -220,8 +221,8 @@ and
manual pages.
.Sh BUGS
The
-.Nm
-routines are not thread safe.
+.Fn nsdispatch
+function is not thread safe.
This will be rectified in the future.
.Pp
Currently there is no support for dynamically loadable dispatcher callback
OpenPOWER on IntegriCloud