Package oshi.jna.platform.unix
Interface SolarisLibc
- 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 classPart of utmpx structurestatic classNested Structure for psinfo filestatic classStructure for usage filestatic classStructure for psinfo filestatic classConnection infostatic class32/64-bit timestruc required for psinfo and lwpsinfo structuresstatic class32/64-bit timeval required for utmpx structureNested 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 SolarisLibcstatic 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 SummaryModifier and TypeMethodDescriptionReads a line from the current file position in the utmp file.intthr_self()Returns the thread ID of the calling thread.Methods 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
- 
UTX_USERSIZEstatic final int UTX_USERSIZE- See Also:
 
- 
UTX_LINESIZEstatic final int UTX_LINESIZE- See Also:
 
- 
UTX_IDSIZEstatic final int UTX_IDSIZE- See Also:
 
- 
UTX_HOSTSIZEstatic final int UTX_HOSTSIZE- See Also:
 
- 
PRCLSZstatic final int PRCLSZ- See Also:
 
- 
PRFNSZstatic final int PRFNSZ- See Also:
 
- 
PRLNSZstatic final int PRLNSZ- See Also:
 
- 
PRARGSZstatic final int PRARGSZ- See Also:
 
 
- 
- 
Method Details- 
getutxentSolarisLibc.SolarisUtmpx getutxent()Reads a line from the current file position in the utmp file. It returns a pointer to a structure containing the fields of the line.Not thread safe - Returns:
- a SolarisLibc.SolarisUtmpxon success, and NULL on failure (which includes the "record not found" case)
 
- 
thr_selfint thr_self()Returns the thread ID of the calling thread.- Returns:
- the thread ID of the calling thread.
 
 
-