Package com.sun.jna.platform.linux
Interface LibC
- 
- 
Nested Class SummaryNested Classes Modifier and Type Interface Description static classLibC.Statvfsstatic classLibC.Sysinfo- 
Nested classes/interfaces inherited from interface com.sun.jna.platform.unix.LibCAPILibCAPI.size_t, LibCAPI.ssize_t
 - 
Nested classes/interfaces inherited from interface com.sun.jna.LibraryLibrary.Handler
 - 
Nested classes/interfaces inherited from interface com.sun.jna.platform.unix.ResourceResource.Rlimit
 
- 
 - 
Field SummaryFields Modifier and Type Field Description static LibCINSTANCEstatic java.lang.StringNAME- 
Fields inherited from interface com.sun.jna.platform.unix.LibCAPIHOST_NAME_MAX
 - 
Fields 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_TYPE_MAPPER
 - 
Fields 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_SUSPEND
 - 
Fields 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 SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description intstatvfs(java.lang.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 Detail- 
NAMEstatic final java.lang.String NAME - See Also:
- Constant Field Values
 
 - 
INSTANCEstatic final LibC INSTANCE 
 
- 
 - 
Method Detail- 
sysinfoint sysinfo(LibC.Sysinfo info) sysinfo() 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.
 
 - 
statvfsint statvfs(java.lang.String path, LibC.Statvfs buf)The 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.
 
 
- 
 
-