summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--share/man/man4/inet.410
1 files changed, 5 insertions, 5 deletions
diff --git a/share/man/man4/inet.4 b/share/man/man4/inet.4
index 0b4cb7f..d15c204 100644
--- a/share/man/man4/inet.4
+++ b/share/man/man4/inet.4
@@ -70,11 +70,11 @@ Sockets bound to the Internet protocol family utilize
the following addressing structure,
.Bd -literal -offset indent
struct sockaddr_in {
- u_char sin_len;
- u_char sin_family;
- u_short sin_port;
- struct in_addr sin_addr;
- char sin_zero[8];
+ uint8_t sin_len;
+ sa_family_t sin_family;
+ in_port_t sin_port;
+ struct in_addr sin_addr;
+ char sin_zero[8];
};
.Ed
.Pp
OpenPOWER on IntegriCloud