jnr.constants.platform.linux.Pathconf 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 2020-06-04 16:57:40 +0200
package jnr.constants.platform.linux;
public enum Pathconf implements jnr.constants.Constant {
_PC_FILESIZEBITS(13L),
_PC_LINK_MAX(0L),
_PC_MAX_CANON(1L),
_PC_MAX_INPUT(2L),
_PC_NAME_MAX(3L),
_PC_PATH_MAX(4L),
_PC_PIPE_BUF(5L),
_PC_2_SYMLINKS(20L),
_PC_ALLOC_SIZE_MIN(18L),
_PC_REC_INCR_XFER_SIZE(14L),
_PC_REC_MAX_XFER_SIZE(15L),
_PC_REC_MIN_XFER_SIZE(16L),
_PC_REC_XFER_ALIGN(17L),
_PC_SYMLINK_MAX(19L),
_PC_CHOWN_RESTRICTED(6L),
_PC_NO_TRUNC(7L),
_PC_VDISABLE(8L),
_PC_ASYNC_IO(10L),
_PC_PRIO_IO(11L),
_PC_SYNC_IO(9L);
private final long value;
private Pathconf(long value) { this.value = value; }
public static final long MIN_VALUE = 0L;
public static final long MAX_VALUE = 20L;
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(Pathconf.class);
map.put(_PC_FILESIZEBITS, "_PC_FILESIZEBITS");
map.put(_PC_LINK_MAX, "_PC_LINK_MAX");
map.put(_PC_MAX_CANON, "_PC_MAX_CANON");
map.put(_PC_MAX_INPUT, "_PC_MAX_INPUT");
map.put(_PC_NAME_MAX, "_PC_NAME_MAX");
map.put(_PC_PATH_MAX, "_PC_PATH_MAX");
map.put(_PC_PIPE_BUF, "_PC_PIPE_BUF");
map.put(_PC_2_SYMLINKS, "_PC_2_SYMLINKS");
map.put(_PC_ALLOC_SIZE_MIN, "_PC_ALLOC_SIZE_MIN");
map.put(_PC_REC_INCR_XFER_SIZE, "_PC_REC_INCR_XFER_SIZE");
map.put(_PC_REC_MAX_XFER_SIZE, "_PC_REC_MAX_XFER_SIZE");
map.put(_PC_REC_MIN_XFER_SIZE, "_PC_REC_MIN_XFER_SIZE");
map.put(_PC_REC_XFER_ALIGN, "_PC_REC_XFER_ALIGN");
map.put(_PC_SYMLINK_MAX, "_PC_SYMLINK_MAX");
map.put(_PC_CHOWN_RESTRICTED, "_PC_CHOWN_RESTRICTED");
map.put(_PC_NO_TRUNC, "_PC_NO_TRUNC");
map.put(_PC_VDISABLE, "_PC_VDISABLE");
map.put(_PC_ASYNC_IO, "_PC_ASYNC_IO");
map.put(_PC_PRIO_IO, "_PC_PRIO_IO");
map.put(_PC_SYNC_IO, "_PC_SYNC_IO");
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; }
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy