summaryrefslogtreecommitdiff
path: root/manual/socket.texi
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-07-18 16:05:57 +0000
committerUlrich Drepper <drepper@redhat.com>1999-07-18 16:05:57 +0000
commit30f22ab12d9b04b42bfcca4fe732a55a41a5f11f (patch)
treef8989180fbdeb0e5dda8834901f1f4589a4f6995 /manual/socket.texi
parentbbacd44b2a17982104a007218d46f76132abbed0 (diff)
Update.
1999-07-18 Andreas Jaeger <aj@arthur.rhein-neckar.de> * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Follow change from 1999-07-17 and adjust len parameter. * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise. * nscd/gethstbyad_r.c (ADD_PARAMS): Likewise. * manual/socket.texi (Host Names): Likewise. * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise. * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r): Likewise. * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise. * resolv/gethnamaddr.c (gethostbyaddr): Likewise. (ht_gethostbyaddr): Likewise. (_gethtbyaddr): Likewise.
Diffstat (limited to 'manual/socket.texi')
-rw-r--r--manual/socket.texi4
1 files changed, 2 insertions, 2 deletions
diff --git a/manual/socket.texi b/manual/socket.texi
index b89a63f5ce..448962f910 100644
--- a/manual/socket.texi
+++ b/manual/socket.texi
@@ -1219,7 +1219,7 @@ allows the caller to specify the desired address family (e.g.@:
@comment netdb.h
@comment BSD
-@deftypefun {struct hostent *} gethostbyaddr (const char *@var{addr}, int @var{length}, int @var{format})
+@deftypefun {struct hostent *} gethostbyaddr (const char *@var{addr}, size_t @var{length}, int @var{format})
The @code{gethostbyaddr} function returns information about the host
with Internet address @var{addr}. The parameter @var{addr} is not
really a pointer to char - it can be a pointer to an IPv4 or an IPv6
@@ -1332,7 +1332,7 @@ allows the caller to specify the desired address family (e.g.@:
@comment netdb.h
@comment GNU
-@deftypefun int gethostbyaddr_r (const char *@var{addr}, int @var{length}, int @var{format}, struct hostent *restrict @var{result_buf}, char *restrict @var{buf}, size_t @var{buflen}, struct hostent **restrict @var{result}, int *restrict @var{h_errnop})
+@deftypefun int gethostbyaddr_r (const char *@var{addr}, size_t @var{length}, int @var{format}, struct hostent *restrict @var{result_buf}, char *restrict @var{buf}, size_t @var{buflen}, struct hostent **restrict @var{result}, int *restrict @var{h_errnop})
The @code{gethostbyaddr_r} function returns information about the host
with Internet address @var{addr}. The parameter @var{addr} is not
really a pointer to char - it can be a pointer to an IPv4 or an IPv6