| 1 |
// WARNING: This file is autogenerated. DO NOT EDIT! |
| 2 |
// Generated 2018-05-11 03:41:27 +0000 |
| 3 |
package jnr.constants.platform.aix; |
| 4 |
public enum OpenFlags implements jnr.constants.Constant { |
| 5 |
O_RDONLY(0L), |
| 6 |
O_WRONLY(1L), |
| 7 |
O_RDWR(2L), |
| 8 |
O_ACCMODE(3L), |
| 9 |
O_NONBLOCK(4L), |
| 10 |
O_APPEND(8L), |
| 11 |
O_SYNC(16L), |
| 12 |
// O_SHLOCK not defined |
| 13 |
// O_EXLOCK not defined |
| 14 |
// O_ASYNC not defined |
| 15 |
// O_FSYNC not defined |
| 16 |
// O_NOFOLLOW not defined |
| 17 |
O_CREAT(256L), |
| 18 |
O_TRUNC(512L), |
| 19 |
O_EXCL(1024L), |
| 20 |
// O_EVTONLY not defined |
| 21 |
O_DIRECTORY(524288L), |
| 22 |
// O_SYMLINK not defined |
| 23 |
// O_BINARY not defined |
| 24 |
O_NOCTTY(2048L); |
| 25 |
// O_TMPFILE not defined |
| 26 |
// O_CLOEXEC not defined |
| 27 |
private final long value; |
| 28 |
private OpenFlags(long value) { this.value = value; } |
| 29 |
public static final long MIN_VALUE = 0L; |
| 30 |
public static final long MAX_VALUE = 524288L; |
| 31 |
|
| 32 |
public final int intValue() { return (int) value; } |
| 33 |
public final long longValue() { return value; } |
| 34 |
public final boolean defined() { return true; } |
| 35 |
} |