Package com.sun.jna.platform.linux
Schnittstelle LibC
LibC structures and functions unique to Linux
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenVon Schnittstelle geerbte verschachtelte Klassen/Schnittstellen com.sun.jna.platform.unix.LibCAPI
LibCAPI.size_t, LibCAPI.ssize_tVon Schnittstelle geerbte verschachtelte Klassen/Schnittstellen com.sun.jna.Library
Library.HandlerVon Schnittstelle geerbte verschachtelte Klassen/Schnittstellen com.sun.jna.platform.unix.Resource
Resource.Rlimit -
Feldübersicht
FelderVon Schnittstelle geerbte Felder com.sun.jna.platform.unix.LibCAPI
HOST_NAME_MAXVon Schnittstelle geerbte Felder com.sun.jna.Library
OPTION_ALLOW_OBJECTS, OPTION_CALLING_CONVENTION, OPTION_CLASSLOADER, OPTION_FUNCTION_MAPPER, OPTION_INVOCATION_MAPPER, OPTION_OPEN_FLAGS, OPTION_STRING_ENCODING, OPTION_STRUCTURE_ALIGNMENT, OPTION_SYMBOL_PROVIDER, OPTION_TYPE_MAPPERVon Schnittstelle geerbte Felder com.sun.jna.platform.unix.Reboot
RB_AUTOBOOT, RB_DISABLE_CAD, RB_ENABLE_CAD, RB_HALT_SYSTEM, RB_KEXEC, RB_POWER_OFF, RB_SW_SUSPENDVon Schnittstelle geerbte Felder com.sun.jna.platform.unix.Resource
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 -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungintstatvfs(String path, LibC.Statvfs buf) The function statvfs() returns information about a mounted filesystem.intsysinfo(LibC.Sysinfo info) sysinfo() provides a simple way of getting overall system statistics.Von Schnittstelle geerbte Methoden com.sun.jna.platform.unix.LibCAPI
close, getdomainname, getegid, getenv, geteuid, getgid, gethostname, getloadavg, getuid, msync, munmap, setdomainname, setegid, setenv, seteuid, setgid, sethostname, setuid, unsetenv
-
Felddetails
-
NAME
- Siehe auch:
-
INSTANCE
-
-
Methodendetails
-
sysinfo
sysinfo() provides a simple way of getting overall system statistics. This is more portable than reading /dev/kmem.- Parameter:
info- A Sysinfo structure which will be populated- Gibt zurück:
- On success, zero is returned. On error, -1 is returned, and errno is set appropriately.
-
statvfs
The function statvfs() returns information about a mounted filesystem.- Parameter:
path- the pathname of any file within the mounted filesystem.buf- a pointer to a statvfs structure- Gibt zurück:
- On success, zero is returned. On error, -1 is returned, and errno is set appropriately.
-