Modifier and Type | Interface and Description |
---|---|
static class |
LibC.Statvfs |
static class |
LibC.Sysinfo |
LibCAPI.size_t, LibCAPI.ssize_t
Resource.Rlimit
Library.Handler
Modifier and Type | Field and Description |
---|---|
static LibC |
INSTANCE |
static java.lang.String |
NAME |
HOST_NAME_MAX
RB_AUTOBOOT, RB_DISABLE_CAD, RB_ENABLE_CAD, RB_HALT_SYSTEM, RB_KEXEC, RB_POWER_OFF, RB_SW_SUSPEND
RLIMIT_AS, RLIMIT_CORE, RLIMIT_CPU, RLIMIT_DATA, RLIMIT_FSIZE, RLIMIT_LOCKS, RLIMIT_MEMLOCK, RLIMIT_MSGQUEUE, RLIMIT_NICE, RLIMIT_NLIMITS, RLIMIT_NOFILE, RLIMIT_NPROC, RLIMIT_RSS, RLIMIT_RTPRIO, RLIMIT_RTTIME, RLIMIT_SIGPENDING, RLIMIT_STACK
OPTION_ALLOW_OBJECTS, OPTION_CALLING_CONVENTION, OPTION_CLASSLOADER, OPTION_FUNCTION_MAPPER, OPTION_INVOCATION_MAPPER, OPTION_OPEN_FLAGS, OPTION_STRING_ENCODING, OPTION_STRUCTURE_ALIGNMENT, OPTION_TYPE_MAPPER
Modifier and Type | Method and Description |
---|---|
int |
statvfs(java.lang.String path,
LibC.Statvfs buf)
The function statvfs() returns information about a mounted filesystem.
|
int |
sysinfo(LibC.Sysinfo info)
sysinfo() provides a simple way of getting overall system statistics.
|
close, getdomainname, getegid, getenv, geteuid, getgid, gethostname, getloadavg, getuid, msync, munmap, setdomainname, setegid, setenv, seteuid, setgid, sethostname, setuid, unsetenv
static final java.lang.String NAME
static final LibC INSTANCE
int sysinfo(LibC.Sysinfo info)
info
- A Sysinfo structure which will be populatedint statvfs(java.lang.String path, LibC.Statvfs buf)
path
- the pathname of any file within the mounted filesystem.buf
- a pointer to a statvfs structure