]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
When doing a F_SETFL, read the flags back so that the ones stored
authorJohn Birrell <jb@FreeBSD.org>
Wed, 10 Jun 1998 22:24:12 +0000 (22:24 +0000)
committerJohn Birrell <jb@FreeBSD.org>
Wed, 10 Jun 1998 22:24:12 +0000 (22:24 +0000)
commit3c165ef7b73f0e1f94c9e6b9517072aa0101d14b
treec0437da7f6b623df24700c2ac21df7ae5f02772c
parent32f5d4d843497a8072f2b107d5c9b0e9e82051f2
When doing a F_SETFL, read the flags back so that the ones stored
in the file descriptor table are exactly what the kernel knows subject
to the O_NONBLOCK flag being requested by the user.
lib/libc_r/uthread/uthread_fcntl.c
lib/libkse/thread/thr_fcntl.c
lib/libpthread/thread/thr_fcntl.c