@@ -115,6 +115,16 @@ public final class PosixConstants {
115
115
public static final OptionalIntConstant O_RSYNC ;
116
116
public static final OptionalIntConstant O_TMPFILE ;
117
117
public static final OptionalIntConstant O_DIRECTORY ;
118
+ public static final OptionalIntConstant O_BINARY ;
119
+ public static final OptionalIntConstant O_TEXT ;
120
+ public static final OptionalIntConstant O_XATTR ;
121
+ public static final OptionalIntConstant O_LARGEFILE ;
122
+ public static final OptionalIntConstant O_SHLOCK ;
123
+ public static final OptionalIntConstant O_EXLOCK ;
124
+ public static final OptionalIntConstant O_EXEC ;
125
+ public static final OptionalIntConstant O_SEARCH ;
126
+ public static final OptionalIntConstant O_PATH ;
127
+ public static final OptionalIntConstant O_TTY_INIT ;
118
128
public static final MandatoryIntConstant S_IFMT ;
119
129
public static final MandatoryIntConstant S_IFSOCK ;
120
130
public static final MandatoryIntConstant S_IFLNK ;
@@ -369,6 +379,16 @@ public final class PosixConstants {
369
379
O_RSYNC = reg .createOptionalInt ("O_RSYNC" );
370
380
O_TMPFILE = reg .createOptionalInt ("O_TMPFILE" );
371
381
O_DIRECTORY = reg .createOptionalInt ("O_DIRECTORY" );
382
+ O_BINARY = reg .createOptionalInt ("O_BINARY" );
383
+ O_TEXT = reg .createOptionalInt ("O_TEXT" );
384
+ O_XATTR = reg .createOptionalInt ("O_XATTR" );
385
+ O_LARGEFILE = reg .createOptionalInt ("O_LARGEFILE" );
386
+ O_SHLOCK = reg .createOptionalInt ("O_SHLOCK" );
387
+ O_EXLOCK = reg .createOptionalInt ("O_EXLOCK" );
388
+ O_EXEC = reg .createOptionalInt ("O_EXEC" );
389
+ O_SEARCH = reg .createOptionalInt ("O_SEARCH" );
390
+ O_PATH = reg .createOptionalInt ("O_PATH" );
391
+ O_TTY_INIT = reg .createOptionalInt ("O_TTY_INIT" );
372
392
S_IFMT = reg .createMandatoryInt ("S_IFMT" );
373
393
S_IFSOCK = reg .createMandatoryInt ("S_IFSOCK" );
374
394
S_IFLNK = reg .createMandatoryInt ("S_IFLNK" );
@@ -561,7 +581,7 @@ public final class PosixConstants {
561
581
SIZEOF_STRUCT_SOCKADDR_UN_SUN_PATH = reg .createMandatoryInt ("SIZEOF_STRUCT_SOCKADDR_UN_SUN_PATH" );
562
582
563
583
openFlags = new IntConstant []{O_ACCMODE , O_RDONLY , O_WRONLY , O_RDWR , O_CREAT , O_EXCL , O_TRUNC , O_APPEND , O_NONBLOCK , O_NOCTTY , O_NDELAY , O_DSYNC , O_CLOEXEC , O_SYNC , O_DIRECT , O_RSYNC ,
564
- O_TMPFILE , O_DIRECTORY };
584
+ O_TMPFILE , O_DIRECTORY , O_BINARY , O_TEXT , O_XATTR , O_LARGEFILE , O_SHLOCK , O_EXLOCK , O_EXEC , O_SEARCH , O_PATH , O_TTY_INIT };
565
585
fileType = new IntConstant []{S_IFMT , S_IFSOCK , S_IFLNK , S_IFREG , S_IFBLK , S_IFDIR , S_IFCHR , S_IFIFO };
566
586
mmapFlags = new IntConstant []{MAP_SHARED , MAP_PRIVATE , MAP_ANONYMOUS , MAP_DENYWRITE , MAP_EXECUTABLE };
567
587
mmapProtection = new IntConstant []{PROT_NONE , PROT_READ , PROT_WRITE , PROT_EXEC };
0 commit comments