diff options
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libc/net/gethostbyname.3 | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/lib/libc/net/gethostbyname.3 b/src/lib/libc/net/gethostbyname.3 index 482e3b4a9c..be6d7e9908 100644 --- a/src/lib/libc/net/gethostbyname.3 +++ b/src/lib/libc/net/gethostbyname.3 | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | .\" $OpenBSD: gethostbyname.3,v 1.29 2015/12/16 18:12:42 jmc Exp $ | 1 | .\" $OpenBSD: gethostbyname.3,v 1.30 2015/12/19 18:59:10 tim Exp $ |
| 2 | .\" | 2 | .\" |
| 3 | .\" Copyright (c) 1983, 1987, 1991, 1993 | 3 | .\" Copyright (c) 1983, 1987, 1991, 1993 |
| 4 | .\" The Regents of the University of California. All rights reserved. | 4 | .\" The Regents of the University of California. All rights reserved. |
| @@ -27,7 +27,7 @@ | |||
| 27 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 27 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
| 28 | .\" SUCH DAMAGE. | 28 | .\" SUCH DAMAGE. |
| 29 | .\" | 29 | .\" |
| 30 | .Dd $Mdocdate: December 16 2015 $ | 30 | .Dd $Mdocdate: December 19 2015 $ |
| 31 | .Dt GETHOSTBYNAME 3 | 31 | .Dt GETHOSTBYNAME 3 |
| 32 | .Os | 32 | .Os |
| 33 | .Sh NAME | 33 | .Sh NAME |
| @@ -46,10 +46,6 @@ | |||
| 46 | .Ft struct hostent * | 46 | .Ft struct hostent * |
| 47 | .Fn gethostbyname "const char *name" | 47 | .Fn gethostbyname "const char *name" |
| 48 | .Ft struct hostent * | 48 | .Ft struct hostent * |
| 49 | .Fn gethostbyname2 "const char *name" "int af" | ||
| 50 | .Ft struct hostent * | ||
| 51 | .Fn gethostbyaddr "const void *addr" "socklen_t len" "int af" | ||
| 52 | .Ft struct hostent * | ||
| 53 | .Fn gethostent void | 49 | .Fn gethostent void |
| 54 | .Ft void | 50 | .Ft void |
| 55 | .Fn sethostent "int stayopen" | 51 | .Fn sethostent "int stayopen" |
| @@ -59,6 +55,12 @@ | |||
| 59 | .Fn herror "const char *string" | 55 | .Fn herror "const char *string" |
| 60 | .Ft const char * | 56 | .Ft const char * |
| 61 | .Fn hstrerror "int err" | 57 | .Fn hstrerror "int err" |
| 58 | .In sys/socket.h | ||
| 59 | .In netdb.h | ||
| 60 | .Ft struct hostent * | ||
| 61 | .Fn gethostbyname2 "const char *name" "int af" | ||
| 62 | .Ft struct hostent * | ||
| 63 | .Fn gethostbyaddr "const void *addr" "socklen_t len" "int af" | ||
| 62 | .Sh DESCRIPTION | 64 | .Sh DESCRIPTION |
| 63 | The | 65 | The |
| 64 | .Fn gethostbyname , | 66 | .Fn gethostbyname , |
