mirror of
https://github.com/ziglang/zig.git
synced 2026-01-20 14:25:16 +00:00
Add O_SHLOCK and O_EXLOCK to freebsd and netbsd
This commit is contained in:
parent
5b278fb606
commit
0b93932a21
@ -325,6 +325,9 @@ pub const O_WRONLY = 0x0001;
|
||||
pub const O_RDWR = 0x0002;
|
||||
pub const O_ACCMODE = 0x0003;
|
||||
|
||||
pub const O_SHLOCK = 0x0010;
|
||||
pub const O_EXLOCK = 0x0020;
|
||||
|
||||
pub const O_CREAT = 0x0200;
|
||||
pub const O_EXCL = 0x0800;
|
||||
pub const O_NOCTTY = 0x8000;
|
||||
|
||||
@ -287,6 +287,9 @@ pub const O_WRONLY = 0x0001;
|
||||
pub const O_RDWR = 0x0002;
|
||||
pub const O_ACCMODE = 0x0003;
|
||||
|
||||
pub const O_SHLOCK = 0x0010;
|
||||
pub const O_EXLOCK = 0x0020;
|
||||
|
||||
pub const O_CREAT = 0x0200;
|
||||
pub const O_EXCL = 0x0800;
|
||||
pub const O_NOCTTY = 0x8000;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user