mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 04:43:53 +00:00
kqueue.9: Update the description of knlist_clear()
knlist_clear() does not free knotes and so does not call fdrop(), so remove the bit of the function description which claims otherwise. (The knote will be dropped by the next queue scan, and it is at that point that the fd reference will be dropped.) MFC after: 1 week
This commit is contained in:
parent
ccf8e1bb38
commit
604de40a02
|
@ -22,7 +22,7 @@
|
||||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
.\" SUCH DAMAGE.
|
.\" SUCH DAMAGE.
|
||||||
.\"
|
.\"
|
||||||
.Dd August 20, 2022
|
.Dd December 18, 2023
|
||||||
.Dt KQUEUE 9
|
.Dt KQUEUE 9
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
|
@ -320,16 +320,6 @@ The
|
||||||
function will be called when the
|
function will be called when the
|
||||||
.Vt knote
|
.Vt knote
|
||||||
is deleted during the next scan.
|
is deleted during the next scan.
|
||||||
This function must not be used when
|
|
||||||
.Va f_isfd
|
|
||||||
is set in
|
|
||||||
.Vt "struct filterops" ,
|
|
||||||
as the
|
|
||||||
.Fa td
|
|
||||||
argument of
|
|
||||||
.Fn fdrop
|
|
||||||
will be
|
|
||||||
.Dv NULL .
|
|
||||||
.Pp
|
.Pp
|
||||||
The function
|
The function
|
||||||
.Fn knlist_delete
|
.Fn knlist_delete
|
||||||
|
|
Loading…
Reference in a new issue