authorgravatar for mneumann@ntecs.deMichael Neumann <mneumann@ntecs.de> 2020-04-07 17:23:20+02:00
committergravatar for mneumann@ntecs.deMichael Neumann <mneumann@ntecs.de> 2020-04-07 17:23:20+02:00
log2b9cef1e0414f01e024af6f69a885faaeaa95f7c
treec16b2d6ef4dad8fdf28543b0e1a0ab23d15b2348
parent7a829a70152522551610c692fe2253b2197ddb66

Add missing constants for DragonFly


1 files changed, 6 insertions(+), 1 deletions(-)

lib/std/os/bits/dragonfly.zig+6-1
......@@ -244,6 +244,12 @@ pub const KERN_MAXID = 37;
244244
245245pub const HOST_NAME_MAX = 255;
246246
247// access function
248pub const F_OK = 0; // test for existence of file
249pub const X_OK = 1; // test for execute or search permission
250pub const W_OK = 2; // test for write permission
251pub const R_OK = 4; // test for read permission
252
247253pub const O_RDONLY = 0;
248254pub const O_NDELAY = O_NONBLOCK;
249255pub const O_WRONLY = 1;
......@@ -277,7 +283,6 @@ pub const SEEK_END = 2;
277283pub const SEEK_DATA = 3;
278284pub const SEEK_HOLE = 4;
279285
280pub const F_OK = 0;
281286pub const F_ULOCK = 0;
282287pub const F_LOCK = 1;
283288pub const F_TLOCK = 2;