Package com.sun.jna.platform.linux
Interface LibC
LibC structures and functions unique to Linux
- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from interface com.sun.jna.platform.unix.LibCAPILibCAPI.size_t, LibCAPI.ssize_tNested classes/interfaces inherited from interface com.sun.jna.LibraryLibrary.HandlerNested classes/interfaces inherited from interface com.sun.jna.platform.unix.ResourceResource.Rlimit
- 
Field SummaryFieldsFields inherited from interface com.sun.jna.platform.unix.LibCAPIHOST_NAME_MAXFields inherited from interface com.sun.jna.LibraryOPTION_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_MAPPERFields inherited from interface com.sun.jna.platform.unix.RebootRB_AUTOBOOT, RB_DISABLE_CAD, RB_ENABLE_CAD, RB_HALT_SYSTEM, RB_KEXEC, RB_POWER_OFF, RB_SW_SUSPENDFields inherited from interface com.sun.jna.platform.unix.ResourceRLIMIT_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
- 
Method SummaryModifier and TypeMethodDescriptionintstatvfs(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.Methods inherited from interface com.sun.jna.platform.unix.LibCAPIclose, getdomainname, getegid, getenv, geteuid, getgid, gethostname, getloadavg, getuid, msync, munmap, setdomainname, setegid, setenv, seteuid, setgid, sethostname, setuid, unsetenv
- 
Field Details- 
NAME- See Also:
 
- 
INSTANCE
 
- 
- 
Method Details- 
sysinfosysinfo() provides a simple way of getting overall system statistics. This is more portable than reading /dev/kmem.- Parameters:
- info- A Sysinfo structure which will be populated
- Returns:
- On success, zero is returned. On error, -1 is returned, and errno is set appropriately.
 
- 
statvfsThe function statvfs() returns information about a mounted filesystem.- Parameters:
- path- the pathname of any file within the mounted filesystem.
- buf- a pointer to a statvfs structure
- Returns:
- On success, zero is returned. On error, -1 is returned, and errno is set appropriately.
 
 
-