diff options
author | truckman <truckman@FreeBSD.org> | 2004-06-01 01:18:51 +0000 |
---|---|---|
committer | truckman <truckman@FreeBSD.org> | 2004-06-01 01:18:51 +0000 |
commit | d503c79cad595bd26f835062ce4bb6ef858857eb (patch) | |
tree | 70cc910e8da4e8552af2295511fb0f6609b4adb4 /lib/libsm | |
parent | 85ad08a47d54b127e27feaec25eedac03c361093 (diff) | |
download | FreeBSD-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