Skip navigation links
JNA API 5.6.0
com.sun.jna.platform.linux

Interface LibC

    • Method Detail

      • sysinfo

        int 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.
      • statvfs

        int 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.
JNA API 5.6.0

Copyright © 2007-2018 Timothy Wall. All Rights Reserved.