aboutsummaryrefslogtreecommitdiffstats
path: root/man3/inet_net_pton.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/inet_net_pton.3')
-rw-r--r--man3/inet_net_pton.38
1 files changed, 5 insertions, 3 deletions
diff --git a/man3/inet_net_pton.3 b/man3/inet_net_pton.3
index 0af4478b04..566b49aae5 100644
--- a/man3/inet_net_pton.3
+++ b/man3/inet_net_pton.3
@@ -13,9 +13,11 @@ Resolver library
.B #include <arpa/inet.h>
.PP
.BI "int inet_net_pton(int " af ", const char *" pres ,
-.BI " void *" netp ", size_t " nsize );
-.BI "char *inet_net_ntop(int " af ", const void *" netp ", int " bits ,
-.BI " char " pres [. psize "], size_t " psize );
+.BI " void " netp [. nsize "], size_t " nsize );
+.BI "char *inet_net_ntop(int " af ,
+.BI " const void " netp [(. bits " - CHAR_BIT + 1) / CHAR_BIT],"
+.BI " int " bits ,
+.BI " char " pres [. psize "], size_t " psize );
.fi
.PP
.RS -4