jnr.constants.platform.fake.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 2010-07-31 18:57:14 +1000
package jnr.constants.platform.fake;
public enum Fcntl implements jnr.constants.Constant {
F_DUPFD(1),
F_GETFD(2),
F_SETFD(3),
F_GETFL(4),
F_SETFL(5),
F_GETOWN(6),
F_SETOWN(7),
F_GETLK(8),
F_SETLK(9),
F_SETLKW(10),
F_CHKCLEAN(11),
F_PREALLOCATE(12),
F_SETSIZE(13),
F_RDADVISE(14),
F_RDAHEAD(15),
F_READBOOTSTRAP(16),
F_WRITEBOOTSTRAP(17),
F_NOCACHE(18),
F_LOG2PHYS(19),
F_GETPATH(20),
F_FULLFSYNC(21),
F_PATHPKG_CHECK(22),
F_FREEZE_FS(23),
F_THAW_FS(24),
F_GLOBAL_NOCACHE(25),
F_ADDSIGS(26),
F_MARKDEPENDENCY(27),
F_RDLCK(28),
F_UNLCK(29),
F_WRLCK(30),
F_ALLOCATECONTIG(31),
F_ALLOCATEALL(32);
private final long value;
private Fcntl(long value) { this.value = value; }
public static final long MIN_VALUE = 1L;
public static final long MAX_VALUE = 32L;
public final int intValue() { return (int) value; }
public final long longValue() { return value; }
}