]> git.ipfire.org Git - thirdparty/man-pages.git/blobdiff - man3/rtnetlink.3
All pages: Replace the 4th argument to .TH by "Linux man-pages (unreleased)"
[thirdparty/man-pages.git] / man3 / rtnetlink.3
index 23f0e08ec74cd356b2242ffa8b1e4ffe8b69c2ea..3ad1b72003d1543519fbe921e61a1a332fc0a5b3 100644 (file)
@@ -9,16 +9,17 @@
 .\"
 .\" $Id: rtnetlink.3,v 1.2 1999/05/18 10:35:10 freitag Exp $
 .\"
-.TH RTNETLINK 3 2020-11-01 "GNU" "Linux Programmer's Manual"
+.TH RTNETLINK 3 2021-03-22 "Linux man-pages (unreleased)" "Linux Programmer's Manual"
 .SH NAME
 rtnetlink \- macros to manipulate rtnetlink messages
+.SH LIBRARY
+Standard C library
+.RI ( libc ", " \-lc )
 .SH SYNOPSIS
+.nf
 .B #include <asm/types.h>
-.br
 .B #include <linux/netlink.h>
-.br
 .B #include <linux/rtnetlink.h>
-.br
 .B #include <sys/socket.h>
 .PP
 .BI "rtnetlink_socket = socket(AF_NETLINK, int " socket_type \
@@ -27,15 +28,14 @@ rtnetlink \- macros to manipulate rtnetlink messages
 .BI "int RTA_OK(struct rtattr *" rta ", int " rtabuflen );
 .PP
 .BI "void *RTA_DATA(struct rtattr *" rta );
-.PP
 .BI "unsigned int RTA_PAYLOAD(struct rtattr *" rta );
 .PP
 .BI "struct rtattr *RTA_NEXT(struct rtattr *" rta \
 ", unsigned int " rtabuflen );
 .PP
 .BI "unsigned int RTA_LENGTH(unsigned int " length );
-.PP
 .BI "unsigned int RTA_SPACE(unsigned int "length );
+.fi
 .SH DESCRIPTION
 All
 .BR rtnetlink (7)
@@ -79,7 +79,7 @@ bytes of data plus the header.
 returns the amount of space which will be needed in a message with
 .I len
 bytes of data.
-.SH CONFORMING TO
+.SH STANDARDS
 These macros are nonstandard Linux extensions.
 .SH BUGS
 This manual page is incomplete.