HomeFreeBSD

fcntl.h: warn that bits for O_* flags are scarce

Description

fcntl.h: warn that bits for O_* flags are scarce

Running out of O_* flag bits will end out ability to make additions that
are source compatible with other operating systems.

Add a warning to coordinate all additions with srcmgr@.

Reviewed by: markj, emaste
Differential Revision: https://reviews.freebsd.org/D50703

(cherry picked from commit 6d0a335aaa81d3ddce95de8d862a23c97bb038a6)

Details

Provenance
brooksAuthored on Jun 12 2025, 1:33 PM
Reviewer
markj
Differential Revision
D50703: fcntl.h: warn that bits for O_* flags are scarce
Parents
rG6ff6a0b58981: Don't rely on sys/_types.h including sys/cdefs.h
Branches
Unknown
Tags
Unknown