Skip to content
Snippets Groups Projects
Commit 4928bd98 authored by Jeremy Larkin's avatar Jeremy Larkin
Browse files

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.
parent 2926a5bb
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment