// WARNING: This file is autogenerated. DO NOT EDIT! // Generated 2021-10-08 17:37:37 +0200 package jnr.constants.platform.freebsd.aarch64; public enum OpenFlags implements jnr.constants.Constant { O_RDONLY(0L), O_WRONLY(1L), O_RDWR(2L), O_ACCMODE(3L), O_NONBLOCK(4L), O_APPEND(8L), O_SYNC(128L), O_SHLOCK(16L), O_EXLOCK(32L), O_ASYNC(64L), O_FSYNC(128L), O_NOFOLLOW(256L), O_CREAT(512L), O_TRUNC(1024L), O_EXCL(2048L), // O_EVTONLY not defined O_DIRECTORY(131072L), // O_SYMLINK not defined // O_BINARY not defined O_NOCTTY(32768L), // O_TMPFILE not defined O_CLOEXEC(1048576L); private final long value; private OpenFlags(long value) { this.value = value; } public static final long MIN_VALUE = 0L; public static final long MAX_VALUE = 1048576L; static final class StringTable { public static final java.util.Map descriptions = generateTable(); public static final java.util.Map generateTable() { java.util.Map map = new java.util.EnumMap(OpenFlags.class); map.put(O_RDONLY, "O_RDONLY"); map.put(O_WRONLY, "O_WRONLY"); map.put(O_RDWR, "O_RDWR"); map.put(O_ACCMODE, "O_ACCMODE"); map.put(O_NONBLOCK, "O_NONBLOCK"); map.put(O_APPEND, "O_APPEND"); map.put(O_SYNC, "O_SYNC"); map.put(O_SHLOCK, "O_SHLOCK"); map.put(O_EXLOCK, "O_EXLOCK"); map.put(O_ASYNC, "O_ASYNC"); map.put(O_FSYNC, "O_FSYNC"); map.put(O_NOFOLLOW, "O_NOFOLLOW"); map.put(O_CREAT, "O_CREAT"); map.put(O_TRUNC, "O_TRUNC"); map.put(O_EXCL, "O_EXCL"); map.put(O_DIRECTORY, "O_DIRECTORY"); map.put(O_NOCTTY, "O_NOCTTY"); map.put(O_CLOEXEC, "O_CLOEXEC"); return map; } } public final String toString() { return StringTable.descriptions.get(this); } public final int value() { return (int) value; } public final int intValue() { return (int) value; } public final long longValue() { return value; } public final boolean defined() { return true; } }