diff options
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/libc/net/getaddrinfo.3 | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/lib/libc/net/getaddrinfo.3 b/src/lib/libc/net/getaddrinfo.3 index dc91b7078d..f91681dbcd 100644 --- a/src/lib/libc/net/getaddrinfo.3 +++ b/src/lib/libc/net/getaddrinfo.3 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: getaddrinfo.3,v 1.23 2003/06/02 20:18:35 millert Exp $ | 1 | .\" $OpenBSD: getaddrinfo.3,v 1.24 2003/07/27 15:34:03 jmc Exp $ |
2 | .\" $KAME: getaddrinfo.3,v 1.29 2001/02/12 09:24:45 itojun Exp $ | 2 | .\" $KAME: getaddrinfo.3,v 1.29 2001/02/12 09:24:45 itojun Exp $ |
3 | .\" | 3 | .\" |
4 | .\" Copyright (c) 1983, 1987, 1991, 1993 | 4 | .\" Copyright (c) 1983, 1987, 1991, 1993 |
@@ -67,16 +67,16 @@ The | |||
67 | structure is defined as a result of including the | 67 | structure is defined as a result of including the |
68 | .Aq Pa netdb.h | 68 | .Aq Pa netdb.h |
69 | header: | 69 | header: |
70 | .Bd -literal -offset | 70 | .Bd -literal |
71 | struct addrinfo { * | 71 | struct addrinfo { |
72 | int ai_flags; /* AI_PASSIVE, AI_CANONNAME, AI_NUMERICHOST */ | 72 | int ai_flags; /* input flags */ |
73 | int ai_family; /* PF_xxx */ | 73 | int ai_family; /* protocol family for socket */ |
74 | int ai_socktype; /* SOCK_xxx */ | 74 | int ai_socktype; /* socket type */ |
75 | int ai_protocol; /* 0 or IPPROTO_xxx for IPv4 and IPv6 */ | 75 | int ai_protocol; /* protocol for socket */ |
76 | size_t ai_addrlen; /* length of ai_addr */ | 76 | socklen_t ai_addrlen; /* length of socket-address */ |
77 | char *ai_canonname; /* canonical name for nodename */ | 77 | struct sockaddr *ai_addr; /* socket-address for socket */ |
78 | struct sockaddr *ai_addr; /* binary address */ | 78 | char *ai_canonname; /* canonical name for service location */ |
79 | struct addrinfo *ai_next; /* next structure in linked list */ | 79 | struct addrinfo *ai_next; /* pointer to next in list */ |
80 | }; | 80 | }; |
81 | .Ed | 81 | .Ed |
82 | .Pp | 82 | .Pp |