Schnittstelle LibC

Alle Superschnittstellen:
LibCAPI, Library, Reboot, Resource

public interface LibC extends LibCAPI, Library
LibC structures and functions unique to Linux
  • Felddetails

  • Methodendetails

    • sysinfo

      int sysinfo(LibC.Sysinfo info)
      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

      int statvfs(String path, LibC.Statvfs buf)
      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.