diff options
Diffstat (limited to 'src/lib/libc')
| -rw-r--r-- | src/lib/libc/net/getnameinfo.3 | 10 | 
1 files changed, 6 insertions, 4 deletions
| diff --git a/src/lib/libc/net/getnameinfo.3 b/src/lib/libc/net/getnameinfo.3 index 2dfe60ad59..9085ff6971 100644 --- a/src/lib/libc/net/getnameinfo.3 +++ b/src/lib/libc/net/getnameinfo.3 | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | .\" $OpenBSD: getnameinfo.3,v 1.31 2004/12/20 22:20:43 millert Exp $ | 1 | .\" $OpenBSD: getnameinfo.3,v 1.32 2004/12/20 22:30:10 millert Exp $ | 
| 2 | .\" | 2 | .\" | 
| 3 | .\" Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC") | 3 | .\" Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC") | 
| 4 | .\" Copyright (C) 2000, 2001 Internet Software Consortium. | 4 | .\" Copyright (C) 2000, 2001 Internet Software Consortium. | 
| @@ -59,7 +59,7 @@ are stored in | |||
| 59 | .Fa host | 59 | .Fa host | 
| 60 | and | 60 | and | 
| 61 | .Fa serv | 61 | .Fa serv | 
| 62 | which have size parameters | 62 | which have length parameters | 
| 63 | .Fa hostlen | 63 | .Fa hostlen | 
| 64 | and | 64 | and | 
| 65 | .Fa servlen . | 65 | .Fa servlen . | 
| @@ -71,10 +71,12 @@ and | |||
| 71 | the maximum value for | 71 | the maximum value for | 
| 72 | .Fa servlen | 72 | .Fa servlen | 
| 73 | is | 73 | is | 
| 74 | .Dv NI_MAXSERV | 74 | .Dv NI_MAXSERV , | 
| 75 | - 32, | ||
| 76 | as defined by | 75 | as defined by | 
| 77 | .Aq Pa netdb.h . | 76 | .Aq Pa netdb.h . | 
| 77 | If a length parameter is zero, no string will be stored. | ||
| 78 | Otherwise, enough space must be provided to store the | ||
| 79 | host name or service string plus a byte for the NUL terminator. | ||
| 78 | .Pp | 80 | .Pp | 
| 79 | The | 81 | The | 
| 80 | .Fa flags | 82 | .Fa flags | 
