diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2000-08-13 07:23:49 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2000-08-13 07:23:49 +0000 |
commit | 807bc18b4fe9944e9110e9b04a9eb5c8b288e6ab (patch) | |
tree | 44aa4379557bc47b57f4cf1e039629b18cd24a13 /lib | |
parent | 18fd5ce5a7d9b9d47ba0e9cb6b7aa2231330aed9 (diff) |
strings are NUL-terminated, not NULL-terminated
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/net/getaddrinfo.3 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/net/getaddrinfo.3 b/lib/libc/net/getaddrinfo.3 index 4f495457a3f..747f62b33b9 100644 --- a/lib/libc/net/getaddrinfo.3 +++ b/lib/libc/net/getaddrinfo.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getaddrinfo.3,v 1.11 2000/08/09 23:12:04 itojun Exp $ +.\" $OpenBSD: getaddrinfo.3,v 1.12 2000/08/13 07:23:48 deraadt Exp $ .\" $KAME: getaddrinfo.3,v 1.22 2000/08/09 21:16:17 itojun Exp $ .\" .\" Copyright (c) 1983, 1987, 1991, 1993 @@ -88,7 +88,7 @@ The .Fa nodename and .Fa servname -arguments are pointers to null-terminated strings or +arguments are pointers to NUL-terminated strings or .Dv NULL . One or both of these two arguments must be a non-null pointer. In the normal client scenario, both the @@ -102,7 +102,7 @@ is specified. A non-null .Fa nodename string can be either a node name or a numeric host address string -(i.e., a dotted-decimal IPv4 address or an IPv6 hex address) +(i.e., a dotted-decimal IPv4 address or an IPv6 hex address). A non-null .Fa servname string can be either a service name or a decimal port number. @@ -232,7 +232,7 @@ structure, then upon successful return the .Fa ai_canonname member of the first .Li addrinfo -structure in the linked list will point to a null-terminated string +structure in the linked list will point to a NUL-terminated string containing the canonical name of the specified .Fa nodename . .Pp |