aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2023-12-12 14:35:48 +0000
committerMark Johnston <markj@FreeBSD.org>2023-12-18 18:16:48 +0000
commit604de40a024c760df5db542171d3953493f56bfb (patch)
treeae2a3cee3ca86f5aeb98a6bd2cdf5f1e6bfe117f
parentccf8e1bb38a7833417850e205430a0c69581c8c3 (diff)
downloadsrc-604de40a024c760df5db542171d3953493f56bfb.tar.gz
src-604de40a024c760df5db542171d3953493f56bfb.zip
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
-rw-r--r--share/man/man9/kqueue.912
1 files changed, 1 insertions, 11 deletions
diff --git a/share/man/man9/kqueue.9 b/share/man/man9/kqueue.9
index ddd834bb1807..8214d7c01673 100644
--- a/share/man/man9/kqueue.9
+++ b/share/man/man9/kqueue.9
@@ -22,7 +22,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd August 20, 2022
+.Dd December 18, 2023
.Dt KQUEUE 9
.Os
.Sh NAME
@@ -320,16 +320,6 @@ The
function will be called when the
.Vt knote
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
The function
.Fn knlist_delete