diff options
Diffstat (limited to 'man7')
-rw-r--r-- | man7/rtnetlink.7 | 2 | ||||
-rw-r--r-- | man7/socket.7 | 2 | ||||
-rw-r--r-- | man7/tcp.7 | 2 | ||||
-rw-r--r-- | man7/udp.7 | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/man7/rtnetlink.7 b/man7/rtnetlink.7 index 60ba4df3..2f95fe20 100644 --- a/man7/rtnetlink.7 +++ b/man7/rtnetlink.7 @@ -19,7 +19,7 @@ rtnetlink, NETLINK_ROUTE \- Linux IPv4 routing socket .B #include <linux/rtnetlink.h> .br .B #include <sys/socket.h> - +.sp .BI "rtnetlink_socket = socket(PF_NETLINK, int " socket_type ", NETLINK_ROUTE);" .SH DESCRIPTION Rtnetlink allows the kernel's routing tables to be read and altered. diff --git a/man7/socket.7 b/man7/socket.7 index 85dd96e8..d1d460f9 100644 --- a/man7/socket.7 +++ b/man7/socket.7 @@ -22,7 +22,7 @@ socket \- Linux socket interface .SH SYNOPSIS .B #include <sys/socket.h> -.br +.sp .IB mysocket " = socket(int " socket_family ", int " socket_type ", int " protocol ); .SH DESCRIPTION This manual page describes the Linux networking socket layer user @@ -21,7 +21,7 @@ tcp \- TCP protocol .B #include <netinet/in.h> .br .B #include <netinet/tcp.h> -.br +.sp .B tcp_socket = socket(PF_INET, SOCK_STREAM, 0); .SH DESCRIPTION This is an implementation of the TCP protocol defined in @@ -12,7 +12,7 @@ udp \- User Datagram Protocol for IPv4 .B #include <sys/socket.h> .br .B #include <netinet/in.h> -.br +.sp .B udp_socket = socket(PF_INET, SOCK_DGRAM, 0); .SH DESCRIPTION This is an implementation of the User Datagram Protocol |