summaryrefslogtreecommitdiff
path: root/src/lib/libc/net/inet_ntop.3
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libc/net/inet_ntop.3')
-rw-r--r--src/lib/libc/net/inet_ntop.36
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libc/net/inet_ntop.3 b/src/lib/libc/net/inet_ntop.3
index c80b0c4776..e5c1c574f8 100644
--- a/src/lib/libc/net/inet_ntop.3
+++ b/src/lib/libc/net/inet_ntop.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: inet_ntop.3,v 1.5 2021/09/01 15:59:22 claudio Exp $ 1.\" $OpenBSD: inet_ntop.3,v 1.6 2022/09/11 06:38:10 jmc Exp $
2.\" $NetBSD: inet.3,v 1.7 1997/06/18 02:25:24 lukem Exp $ 2.\" $NetBSD: inet.3,v 1.7 1997/06/18 02:25:24 lukem Exp $
3.\" 3.\"
4.\" Copyright (c) 1983, 1990, 1991, 1993 4.\" Copyright (c) 1983, 1990, 1991, 1993
@@ -30,7 +30,7 @@
30.\" 30.\"
31.\" @(#)inet.3 8.1 (Berkeley) 6/4/93 31.\" @(#)inet.3 8.1 (Berkeley) 6/4/93
32.\" 32.\"
33.Dd $Mdocdate: September 1 2021 $ 33.Dd $Mdocdate: September 11 2022 $
34.Dt INET_NTOP 3 34.Dt INET_NTOP 3
35.Os 35.Os
36.Sh NAME 36.Sh NAME
@@ -49,7 +49,7 @@ The
49.Fn inet_pton 49.Fn inet_pton
50function converts a presentation format address (that is, printable form 50function converts a presentation format address (that is, printable form
51as held in a character string) to network format (usually a 51as held in a character string) to network format (usually a
52.Li struct in_addr 52.Vt struct in_addr
53or some other internal binary representation, in network byte order). 53or some other internal binary representation, in network byte order).
54It returns 1 if the address was valid for the specified address family; 54It returns 1 if the address was valid for the specified address family;
550 if the address wasn't parseable in the specified address family; or \-1 550 if the address wasn't parseable in the specified address family; or \-1