mirror of https://github.com/mkerrisk/man-pages
ffix
This commit is contained in:
parent
fe4d4c41ab
commit
b20979f0e8
|
@ -57,23 +57,23 @@ is.
|
|||
The macro takes any floating-point expression as argument.
|
||||
The result is one of the following values:
|
||||
.TP
|
||||
FP_NAN
|
||||
.B FP_NAN
|
||||
.I x
|
||||
is "Not a Number".
|
||||
.TP
|
||||
FP_INFINITE
|
||||
.B FP_INFINITE
|
||||
.I x
|
||||
is either plus or minus infinity.
|
||||
.TP
|
||||
FP_ZERO
|
||||
.B FP_ZERO
|
||||
.I x
|
||||
is zero.
|
||||
.TP
|
||||
FP_SUBNORMAL
|
||||
.B FP_SUBNORMAL
|
||||
.I x
|
||||
is too small to be represented in normalized format.
|
||||
.TP
|
||||
FP_NORMAL
|
||||
.B FP_NORMAL
|
||||
if nothing of the above is correct then it must be a
|
||||
normal floating-point number.
|
||||
.LP
|
||||
|
|
|
@ -36,10 +36,10 @@ for auxiliary data.
|
|||
The buffer passed to and from a netlink socket should
|
||||
only be accessed using these macros.
|
||||
.TP
|
||||
NLMSG_ALIGN
|
||||
.BR NLMSG_ALIGN ()
|
||||
Round the length of a netlink message up to align it properly.
|
||||
.TP
|
||||
NLMSG_LENGTH
|
||||
.BR NLMSG_LENGTH ()
|
||||
Given the payload length,
|
||||
.IR len ,
|
||||
this macro returns the aligned length to store in the
|
||||
|
@ -47,30 +47,33 @@ this macro returns the aligned length to store in the
|
|||
field of the
|
||||
.IR nlmsghdr .
|
||||
.TP
|
||||
NLMSG_SPACE
|
||||
.BR NLMSG_SPACE ()
|
||||
Return the number of bytes that a netlink message with payload of
|
||||
.I len
|
||||
would occupy.
|
||||
.TP
|
||||
NLMSG_DATA
|
||||
.BR NLMSG_DATA ()
|
||||
Return a pointer to the payload associated with the passed
|
||||
.IR nlmsghdr .
|
||||
.TP
|
||||
.\" this is bizarre, maybe the interface should be fixed.
|
||||
NLMSG_NEXT
|
||||
.BR NLMSG_NEXT ()
|
||||
Get the next
|
||||
.I nlmsghdr
|
||||
in a multipart message.
|
||||
The caller must check if the current nlmsghdr didn't have the NLMSG_DONE
|
||||
The caller must check if the current
|
||||
.I nlmsghdr
|
||||
didn't have the
|
||||
.B NLMSG_DONE
|
||||
set \(em this function doesn't return NULL on end.
|
||||
The length parameter is an lvalue containing the remaining length
|
||||
of the message buffer.
|
||||
This macro decrements it by the length of the message header.
|
||||
.TP
|
||||
NLMSG_OK
|
||||
.BR NLMSG_OK ()
|
||||
Return true if the netlink message is not truncated and ok to parse.
|
||||
.TP
|
||||
NLMSG_PAYLOAD
|
||||
.BR NLMSG_PAYLOAD ()
|
||||
Return the length of the payload associated with the
|
||||
.IR nlmsghdr .
|
||||
.SH CONFORMING TO
|
||||
|
|
Loading…
Reference in New Issue