diff options
| author | John Polstra <jdp@FreeBSD.org> | 1996-10-08 22:35:16 +0000 |
|---|---|---|
| committer | John Polstra <jdp@FreeBSD.org> | 1996-10-08 22:35:16 +0000 |
| commit | 82276f4c649373b2393d230889bca438ddd98305 (patch) | |
| tree | c6728d3ef94586015e7ab50d1df13218a3fbf2b6 /lib | |
| parent | e0dee0b17f966de45d9f4c21f93c45099dd645eb (diff) | |
Notes
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/libc/net/gethostbyname.3 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/net/gethostbyname.3 b/lib/libc/net/gethostbyname.3 index 702a116d52f5..59cf30875735 100644 --- a/lib/libc/net/gethostbyname.3 +++ b/lib/libc/net/gethostbyname.3 @@ -44,16 +44,16 @@ .Nd get network host entry .Sh SYNOPSIS .Fd #include <netdb.h> -.Fd extern struct h_errno; +.Fd extern int h_errno; .Ft struct hostent * -.Fn gethostbyname "char *name" +.Fn gethostbyname "const char *name" .Ft struct hostent * -.Fn gethostbyaddr "char *addr" "int len" "int type" +.Fn gethostbyaddr "const char *addr" "int len" "int type" .Ft struct hostent * .Fn gethostent void .Fn sethostent "int stayopen" .Fn endhostent void -.Fn herror "char *string" +.Fn herror "const char *string" .Sh DESCRIPTION The .Fn gethostbyname |
