Add fcntl constants for advisory locking on BSDs
For range-based locking POSIX fcntl locks are needed. This adds the constants F_RDLCK, F_UNLCK, and F_WRLCK for FreeBSD, NetBSD, OpenBSD, DragonFlyBSD, and macOS/iOS. Fortunately these values are defined the same across these platforms.
Please register or sign in to comment