diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2021-09-01 15:59:23 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2021-09-01 15:59:23 +0000 |
commit | 6fa1a01de51922e4e6835daaf2158ee97c5fef25 (patch) | |
tree | 1e74279a8aecf273888c9c8c86de79d841cec62e /lib/libc/net/inet_ntop.3 | |
parent | 06868d6000b229c4a28dc912c1e84a79856d1021 (diff) |
inet_ntop(3) needs sys/socket.h for AF_INET / AF_INET6 so add the header
to the list. While here remove some of the headers from inet_net_ntop(3)
for balance.
Diffstat (limited to 'lib/libc/net/inet_ntop.3')
-rw-r--r-- | lib/libc/net/inet_ntop.3 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libc/net/inet_ntop.3 b/lib/libc/net/inet_ntop.3 index 0e168c7d86e..c80b0c47766 100644 --- a/lib/libc/net/inet_ntop.3 +++ b/lib/libc/net/inet_ntop.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: inet_ntop.3,v 1.4 2019/08/30 20:06:07 jmc Exp $ +.\" $OpenBSD: inet_ntop.3,v 1.5 2021/09/01 15:59:22 claudio Exp $ .\" $NetBSD: inet.3,v 1.7 1997/06/18 02:25:24 lukem Exp $ .\" .\" Copyright (c) 1983, 1990, 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)inet.3 8.1 (Berkeley) 6/4/93 .\" -.Dd $Mdocdate: August 30 2019 $ +.Dd $Mdocdate: September 1 2021 $ .Dt INET_NTOP 3 .Os .Sh NAME @@ -38,6 +38,7 @@ .Nm inet_pton .Nd convert Internet addresses between presentation and network formats .Sh SYNOPSIS +.In sys/socket.h .In arpa/inet.h .Ft const char * .Fn inet_ntop "int af" "const void * restrict src" "char * restrict dst" "socklen_t size" |