summaryrefslogtreecommitdiff
path: root/src/lib/libc/net/inet_net_ntop.3
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libc/net/inet_net_ntop.3')
-rw-r--r--src/lib/libc/net/inet_net_ntop.38
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libc/net/inet_net_ntop.3 b/src/lib/libc/net/inet_net_ntop.3
index cac234be42..4212af3bb6 100644
--- a/src/lib/libc/net/inet_net_ntop.3
+++ b/src/lib/libc/net/inet_net_ntop.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: inet_net_ntop.3,v 1.3 2022/03/31 17:27:16 naddy Exp $ 1.\" $OpenBSD: inet_net_ntop.3,v 1.4 2022/09/11 06:38:10 jmc Exp $
2.\" $NetBSD: inet_net.3,v 1.1 1997/06/18 02:25:27 lukem Exp $ 2.\" $NetBSD: inet_net.3,v 1.1 1997/06/18 02:25:27 lukem Exp $
3.\" 3.\"
4.\" Copyright (c) 1997 The NetBSD Foundation, Inc. 4.\" Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -28,7 +28,7 @@
28.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 28.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29.\" POSSIBILITY OF SUCH DAMAGE. 29.\" POSSIBILITY OF SUCH DAMAGE.
30.\" 30.\"
31.Dd $Mdocdate: March 31 2022 $ 31.Dd $Mdocdate: September 11 2022 $
32.Dt INET_NET_NTOP 3 32.Dt INET_NET_NTOP 3
33.Os 33.Os
34.Sh NAME 34.Sh NAME
@@ -46,7 +46,7 @@
46The 46The
47.Fn inet_net_ntop 47.Fn inet_net_ntop
48function converts an Internet network number from network format (usually a 48function converts an Internet network number from network format (usually a
49.Li struct in_addr 49.Vt struct in_addr
50or some other binary form, in network byte order) to CIDR presentation format 50or some other binary form, in network byte order) to CIDR presentation format
51(suitable for external display purposes). 51(suitable for external display purposes).
52.Fa bits 52.Fa bits
@@ -63,7 +63,7 @@ The
63.Fn inet_net_pton 63.Fn inet_net_pton
64function converts a presentation format Internet network number (that is, 64function converts a presentation format Internet network number (that is,
65printable form as held in a character string) to network format (usually a 65printable form as held in a character string) to network format (usually a
66.Li struct in_addr 66.Vt struct in_addr
67or some other internal binary representation, in network byte order). 67or some other internal binary representation, in network byte order).
68It returns the number of bits (either computed based on the class, or 68It returns the number of bits (either computed based on the class, or
69specified with /CIDR), or \-1 if a failure occurred 69specified with /CIDR), or \-1 if a failure occurred