HomeFreeBSD

Support MSG_DONTWAIT in send*(2).

Description

Support MSG_DONTWAIT in send*(2).

As it does for recv*(2), MSG_DONTWAIT indicates that the call should
not block, returning EAGAIN instead. Linux and OpenBSD both implement
this, so the change makes porting easier, especially since we do not
return EINVAL or so when unrecognized flags are specified.

Submitted by: Greg V <greg@unrelenting.technology>
Reviewed by: tuexen
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D18728

Details

Provenance
markjAuthored on
Reviewer
tuexen
Differential Revision
D18728: Support MSG_DONTWAIT in sendmsg()
Parents
rS342767: x86: Report per-cpu IPI TLB shootdown generation in ddb 'show pcpu' output.
Branches
Unknown
Tags
Unknown