All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jnr.constants.platform.solaris.OpenFlags Maven / Gradle / Ivy

There is a newer version: 0.10.4
Show newest version
// WARNING: This file is autogenerated. DO NOT EDIT!
// Generated 2016-11-03 14:14:21 -0500
package jnr.constants.platform.solaris;
public enum OpenFlags implements jnr.constants.Constant {
O_RDONLY(0L),
O_WRONLY(1L),
O_RDWR(2L),
O_ACCMODE(6291459L),
O_NONBLOCK(128L),
O_APPEND(8L),
O_SYNC(16L),
// O_SHLOCK not defined
// O_EXLOCK not defined
// O_ASYNC not defined
// O_FSYNC not defined
O_NOFOLLOW(131072L),
O_CREAT(256L),
O_TRUNC(512L),
O_EXCL(1024L),
// O_EVTONLY not defined
O_DIRECTORY(16777216L),
// O_SYMLINK not defined
// O_BINARY not defined
O_NOCTTY(2048L),
// O_TMPFILE not defined
O_CLOEXEC(8388608L);
private final long value;
private OpenFlags(long value) { this.value = value; }
public static final long MIN_VALUE = 0L;
public static final long MAX_VALUE = 16777216L;

public final int intValue() { return (int) value; }
public final long longValue() { return value; }
public final boolean defined() { return true; }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy