> One could argue that the mm functions shouldn't have a flags arg in
> their func protoptyes at all, as they are dealing with a sequence of
> messages, each of which has a flags field in its msghdr, which really
> should be all that is needed.

msg_flags is not the same flag bits as the flags arg to send{,m}msg.
Conceptually, the former applies to the message; the latter to the
operation, though there is a certain amount of confusion (eg, MSG_EOR).

Consider MSG_CTRUNC (flag on message) and MSG_NOSIGNAL (flag on
operation) if you want a clear example of the distinction.

/~\ The ASCII                             Mouse
\ / Ribbon Campaign
 X  Against HTML                [email protected]
/ \ Email!           7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B

Reply via email to