jnr.constants.platform.freebsd.Fcntl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jnr-constants Show documentation
Show all versions of jnr-constants Show documentation
A set of platform constants (e.g. errno values)
// WARNING: This file is autogenerated. DO NOT EDIT!
// Generated Mon Feb 23 15:55:17 -0800 2009
package jnr.constants.platform.freebsd;
public enum Fcntl implements jnr.constants.Constant {
FREAD(1),
FWRITE(2),
FAPPEND(8),
FASYNC(64),
FFSYNC(128),
FNONBLOCK(4),
FNDELAY(4),
F_DUPFD(0),
F_GETFD(1),
F_SETFD(2),
F_GETFL(3),
F_SETFL(4),
F_GETOWN(5),
F_SETOWN(6),
F_GETLK(7),
F_SETLK(8),
F_SETLKW(9),
// F_CHKCLEAN not defined
// F_PREALLOCATE not defined
// F_SETSIZE not defined
// F_RDADVISE not defined
// F_RDAHEAD not defined
// F_READBOOTSTRAP not defined
// F_WRITEBOOTSTRAP not defined
// F_NOCACHE not defined
// F_LOG2PHYS not defined
// F_GETPATH not defined
// F_FULLFSYNC not defined
// F_PATHPKG_CHECK not defined
// F_FREEZE_FS not defined
// F_THAW_FS not defined
// F_GLOBAL_NOCACHE not defined
// F_ADDSIGS not defined
// F_MARKDEPENDENCY not defined
F_RDLCK(1),
F_UNLCK(2),
F_WRLCK(3);
// F_ALLOCATECONTIG not defined
// F_ALLOCATEALL not defined
private final int value;
private Fcntl(int value) { this.value = value; }
public static final long MIN_VALUE = 0;
public static final long MAX_VALUE = 128;
public final int value() { return value; }
public final int intValue() { return value; }
public final long longValue() { return value; }
}