Package oshi.jna.platform.unix
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
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 SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic classOpenBSD Cache stats for memorystatic classReturn type for BSD sysctl kern.boottimeNested classes/interfaces inherited from interface oshi.jna.platform.unix.CLibraryCLibrary.Addrinfo, CLibrary.BsdIp6stat, CLibrary.BsdIpstat, CLibrary.BsdTcpstat, CLibrary.BsdUdpstat, CLibrary.SockaddrNested classes/interfaces inherited from interface com.sun.jna.platform.unix.LibCAPIcom.sun.jna.platform.unix.LibCAPI.size_t, com.sun.jna.platform.unix.LibCAPI.ssize_tNested classes/interfaces inherited from interface com.sun.jna.Librarycom.sun.jna.Library.HandlerNested classes/interfaces inherited from interface com.sun.jna.platform.unix.Resourcecom.sun.jna.platform.unix.Resource.Rlimit
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final OpenBsdLibcstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from interface oshi.jna.platform.unix.CLibraryAI_CANONNAME, LOGIN_PROCESS, USER_PROCESS, UT_HOSTSIZE, UT_LINESIZE, UT_NAMESIZEFields 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 SummaryMethods inherited from interface oshi.jna.platform.unix.CLibraryendutxent, freeaddrinfo, gai_strerror, getaddrinfo, getpid, open, pread, setutxent, sysctl, sysctlbyname, sysctlnametomibMethods 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, unsetenvMethods inherited from interface com.sun.jna.platform.unix.RebootrebootMethods inherited from interface com.sun.jna.platform.unix.Resourcegetrlimit, setrlimit
- 
Field Details- 
INSTANCE
- 
CTL_KERNstatic final int CTL_KERN- See Also:
 
- 
CTL_VMstatic final int CTL_VM- See Also:
 
- 
CTL_HWstatic final int CTL_HW- See Also:
 
- 
CTL_MACHDEPstatic final int CTL_MACHDEP- See Also:
 
- 
CTL_VFSstatic final int CTL_VFS- See Also:
 
- 
KERN_OSTYPEstatic final int KERN_OSTYPE- See Also:
 
- 
KERN_OSRELEASEstatic final int KERN_OSRELEASE- See Also:
 
- 
KERN_OSREVstatic final int KERN_OSREV- See Also:
 
- 
KERN_VERSIONstatic final int KERN_VERSION- See Also:
 
- 
KERN_MAXVNODESstatic final int KERN_MAXVNODES- See Also:
 
- 
KERN_MAXPROCstatic final int KERN_MAXPROC- See Also:
 
- 
KERN_ARGMAXstatic final int KERN_ARGMAX- See Also:
 
- 
KERN_CPTIMEstatic final int KERN_CPTIME- See Also:
 
- 
KERN_CPTIME2static final int KERN_CPTIME2- See Also:
 
- 
VM_UVMEXPstatic final int VM_UVMEXP- See Also:
 
- 
HW_MACHINEstatic final int HW_MACHINE- See Also:
 
- 
HW_MODELstatic final int HW_MODEL- See Also:
 
- 
HW_PAGESIZEstatic final int HW_PAGESIZE- See Also:
 
- 
HW_CPUSPEEDstatic final int HW_CPUSPEED- See Also:
 
- 
HW_NCPUFOUNDstatic final int HW_NCPUFOUND- See Also:
 
- 
HW_SMTstatic final int HW_SMT- See Also:
 
- 
HW_NCPUONLINEstatic final int HW_NCPUONLINE- See Also:
 
- 
VFS_GENERICstatic final int VFS_GENERIC- See Also:
 
- 
VFS_BCACHESTATstatic final int VFS_BCACHESTAT- See Also:
 
- 
CPUSTATESstatic final int CPUSTATES- See Also:
 
- 
CP_USERstatic final int CP_USER- See Also:
 
- 
CP_NICEstatic final int CP_NICE- See Also:
 
- 
CP_SYSstatic final int CP_SYS- See Also:
 
- 
CP_INTRstatic final int CP_INTR- See Also:
 
- 
CP_IDLEstatic final int CP_IDLE- See Also:
 
- 
UINT64_SIZEstatic final int UINT64_SIZE
- 
INT_SIZEstatic final int INT_SIZE
 
- 
- 
Method Details- 
getthridint getthrid()Returns the thread ID of the calling thread. This is used in the implementation of the thread library (-lpthread) and can appear in the output of system utilities such as ps and kdump.- Returns:
- the thread ID of the calling thread.
 
 
-