Added a CONFORMING TO section; other minor edits.

This commit is contained in:
Michael Kerrisk 2007-06-16 07:49:06 +00:00
parent 50a5a67b39
commit cc57d81cd0
1 changed files with 5 additions and 3 deletions

View File

@ -64,7 +64,7 @@ Calling this macro will update
.IR attrlen . .IR attrlen .
You should use You should use
.B RTA_OK .B RTA_OK
to check for the validity of the returned pointer. to check the validity of the returned pointer.
.PP .PP
.BI RTA_LENGTH( len ) .BI RTA_LENGTH( len )
returns the length which is required for returns the length which is required for
@ -72,15 +72,17 @@ returns the length which is required for
bytes of data plus the header. bytes of data plus the header.
.PP .PP
.BI RTA_SPACE( len ) .BI RTA_SPACE( len )
returns the amount of space which will be needed in the message with returns the amount of space which will be needed in a message with
.I len .I len
bytes of data. bytes of data.
.SH CONFORMING
These macros are non-standard Linux extensions.
.SH BUGS .SH BUGS
This manual page is incomplete. This manual page is incomplete.
.SH EXAMPLE .SH EXAMPLE
.\" FIXME ? would be better to use libnetlink in the EXAMPLE code here .\" FIXME ? would be better to use libnetlink in the EXAMPLE code here
Creating a rtnetlink message to set a MTU of a device: Creating a rtnetlink message to set the MTU of a device:
.nf .nf
struct { struct {