diff options
| author | Warner Losh <imp@FreeBSD.org> | 2025-12-03 04:40:47 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2025-12-03 04:40:47 +0000 |
| commit | 618347747494f0c0842edbdfe29bacf533b10d0f (patch) | |
| tree | aa9520e5c1622800559e97e78761de6f1a701143 | |
| parent | 0e60cb8c6a4e9cf943b7360cbd9e9a390f545a10 (diff) | |
kqueue(9): document f_copy
f_copy controls whether and how a knote is inherited by the child
process.
Sponsored by: Netflix
Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D53845
| -rw-r--r-- | share/man/man9/kqueue.9 | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/share/man/man9/kqueue.9 b/share/man/man9/kqueue.9 index 8214d7c01673..bc73530226f0 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 December 18, 2023 +.Dd December 2, 2025 .Dt KQUEUE 9 .Os .Sh NAME @@ -197,6 +197,18 @@ function of the that the .Va knote was added to. +.It Va f_copy +The +.Va f_copy +function is called to copy notes when the process forks. +When +.Dv NULL , +the current node is not duplicated to the child process. +Filter might set +.Dv f_copy +to +.Fn knote_triv_copy +if there is no additional handling required, besides shallow copying of the knote itself. .El .Pp The function |
