summaryrefslogtreecommitdiffstats
path: root/lib/libsm
diff options
context:
space:
mode:
authortruckman <truckman@FreeBSD.org>2004-06-01 01:18:51 +0000
committertruckman <truckman@FreeBSD.org>2004-06-01 01:18:51 +0000
commitd503c79cad595bd26f835062ce4bb6ef858857eb (patch)
tree70cc910e8da4e8552af2295511fb0f6609b4adb4 /lib/libsm
parent85ad08a47d54b127e27feaec25eedac03c361093 (diff)
downloadFreeBSD-src-d503c79cad595bd26f835062ce4bb6ef858857eb.zip
FreeBSD-src-d503c79cad595bd26f835062ce4bb6ef858857eb.tar.gz
Add MSG_NBIO flag option to soreceive() and sosend() that causes
them to behave the same as if the SS_NBIO socket flag had been set for this call. The SS_NBIO flag for ordinary sockets is set by fcntl(fd, F_SETFL, O_NONBLOCK). Pass the MSG_NBIO flag to the soreceive() and sosend() calls in fifo_read() and fifo_write() instead of frobbing the SS_NBIO flag on the underlying socket for each I/O operation. The O_NONBLOCK flag is a property of the descriptor, and unlike ordinary sockets, fifos may be referenced by multiple descriptors.
Diffstat (limited to 'lib/libsm')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud