HomeFreeBSD

kqueue: add close() calls to man page example

Description

kqueue: add close() calls to man page example

There is no real need to close descriptors before a process exits, but
these close calls demonstrate by example that kqueue descriptors occupy
the same namespace as other file descriptors.

Reviewed by: fernape, markj
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D39376

Details

Provenance
emasteAuthored on Mar 31 2023, 6:50 PM
Reviewer
fernape
Differential Revision
D39376: kqueue: add close() calls to man page example
Parents
rG11cdffc60325: Regen
Branches
Unknown
Tags
Unknown