Interface OpenBsdLibc

All Superinterfaces:
CLibrary, com.sun.jna.platform.unix.LibCAPI, com.sun.jna.Library, com.sun.jna.platform.unix.Reboot, com.sun.jna.platform.unix.Resource

public interface OpenBsdLibc
extends CLibrary
C library. This class should be considered non-API as it may be removed if/when its code is incorporated into the JNA project.
  • Nested Class Summary

    Nested Classes
    Modifier and Type Interface Description
    static class  OpenBsdLibc.Bcachestats
    OpenBSD Cache stats for memory
    static class  OpenBsdLibc.Timeval
    Return type for BSD sysctl kern.boottime

    Nested classes/interfaces inherited from interface oshi.jna.platform.unix.CLibrary

    CLibrary.Addrinfo, CLibrary.BsdIp6stat, CLibrary.BsdIpstat, CLibrary.BsdTcpstat, CLibrary.BsdUdpstat, CLibrary.Sockaddr

    Nested classes/interfaces inherited from interface com.sun.jna.platform.unix.LibCAPI

    com.sun.jna.platform.unix.LibCAPI.size_t, com.sun.jna.platform.unix.LibCAPI.ssize_t

    Nested classes/interfaces inherited from interface com.sun.jna.Library

    com.sun.jna.Library.Handler

    Nested classes/interfaces inherited from interface com.sun.jna.platform.unix.Resource

    com.sun.jna.platform.unix.Resource.Rlimit
  • Field Summary

    Fields
    Modifier and Type Field Description
    static int CP_IDLE  
    static int CP_INTR  
    static int CP_NICE  
    static int CP_SYS  
    static int CP_USER  
    static int CPUSTATES  
    static int CTL_HW  
    static int CTL_KERN  
    static int CTL_MACHDEP  
    static int CTL_VFS  
    static int CTL_VM  
    static int HW_CPUSPEED  
    static int HW_MACHINE  
    static int HW_MODEL  
    static int HW_NCPUFOUND  
    static int HW_NCPUONLINE  
    static int HW_PAGESIZE  
    static int HW_SMT  
    static OpenBsdLibc INSTANCE  
    static int INT_SIZE  
    static int KERN_ARGMAX  
    static int KERN_CPTIME  
    static int KERN_CPTIME2  
    static int KERN_MAXPROC  
    static int KERN_MAXVNODES  
    static int KERN_OSRELEASE  
    static int KERN_OSREV  
    static int KERN_OSTYPE  
    static int KERN_VERSION  
    static int UINT64_SIZE  
    static int VFS_BCACHESTAT  
    static int VFS_GENERIC  
    static int VM_UVMEXP  

    Fields inherited from interface oshi.jna.platform.unix.CLibrary

    AI_CANONNAME, LOGIN_PROCESS, USER_PROCESS, UT_HOSTSIZE, UT_LINESIZE, UT_NAMESIZE

    Fields inherited from interface com.sun.jna.platform.unix.LibCAPI

    HOST_NAME_MAX

    Fields inherited from interface 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_TYPE_MAPPER

    Fields inherited from interface com.sun.jna.platform.unix.Reboot

    RB_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.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
  • Method Summary

    Modifier and Type Method Description
    int sysctl​(int[] name, int namelen, com.sun.jna.Pointer oldp, NativeSizeTByReference oldlenp, com.sun.jna.Pointer newp, com.sun.jna.platform.unix.LibCAPI.size_t newlen)  

    Methods inherited from interface oshi.jna.platform.unix.CLibrary

    endutxent, freeaddrinfo, gai_strerror, getaddrinfo, getpid, setutxent

    Methods inherited from interface 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

    Methods inherited from interface com.sun.jna.platform.unix.Reboot

    reboot

    Methods inherited from interface com.sun.jna.platform.unix.Resource

    getrlimit, setrlimit