| author | |
| committer | |
| log | 4dd0822a3680de84ce5e6fd2536ffc91e0aaefb1 |
| tree | c5de9e8d25e95558837401a8fbb4cd0536e1bf7e |
| parent | 733f1c25bd34270b76c5fa43928dfffda1ecd5e3 |
3 files changed, 15 insertions(+), 0 deletions(-)
lib/std/os/bits/dragonfly.zig+5| ... | ... | @@ -692,6 +692,11 @@ pub const F_DUP2FD = 10; |
| 692 | 692 | pub const F_DUPFD_CLOEXEC = 17; |
| 693 | 693 | pub const F_DUP2FD_CLOEXEC = 18; |
| 694 | 694 | |
| 695 | pub const LOCK_SH = 1; | |
| 696 | pub const LOCK_EX = 2; | |
| 697 | pub const LOCK_UN = 8; | |
| 698 | pub const LOCK_NB = 4; | |
| 699 | ||
| 695 | 700 | pub const Flock = extern struct { |
| 696 | 701 | l_start: off_t, |
| 697 | 702 | l_len: off_t, |
lib/std/os/bits/freebsd.zig+5| ... | ... | @@ -367,6 +367,11 @@ pub const F_RDLCK = 1; |
| 367 | 367 | pub const F_WRLCK = 3; |
| 368 | 368 | pub const F_UNLCK = 2; |
| 369 | 369 | |
| 370 | pub const LOCK_SH = 1; | |
| 371 | pub const LOCK_EX = 2; | |
| 372 | pub const LOCK_UN = 8; | |
| 373 | pub const LOCK_NB = 4; | |
| 374 | ||
| 370 | 375 | pub const F_SETOWN_EX = 15; |
| 371 | 376 | pub const F_GETOWN_EX = 16; |
| 372 | 377 |
lib/std/os/bits/netbsd.zig+5| ... | ... | @@ -447,6 +447,11 @@ pub const F_RDLCK = 1; |
| 447 | 447 | pub const F_WRLCK = 3; |
| 448 | 448 | pub const F_UNLCK = 2; |
| 449 | 449 | |
| 450 | pub const LOCK_SH = 1; | |
| 451 | pub const LOCK_EX = 2; | |
| 452 | pub const LOCK_UN = 8; | |
| 453 | pub const LOCK_NB = 4; | |
| 454 | ||
| 450 | 455 | pub const FD_CLOEXEC = 1; |
| 451 | 456 | |
| 452 | 457 | pub const SEEK_SET = 0; |