| Skip Navigation Links | |
| Exit Print View | |
![]() | man pages section 3: Library Interfaces and Headers Oracle Solaris 11 Information Library |
Library Interfaces and Headers
SMHBA_GetAdapterAttributes(3LIB)
SMHBA_GetAdapterPortAttributes(3LIB)
SMHBA_GetBindingCapability(3LIB)
SMHBA_GetDiscoveredPortAttributes(3LIB)
SMHBA_GetFCPhyAttributes(3LIB)
SMHBA_GetPersistentBinding(3LIB)
SMHBA_GetPortAttributesByWWN(3LIB)
SMHBA_GetProtocolStatistics(3LIB)
SMHBA_GetSASPhyAttributes(3LIB)
SMHBA_GetVendorLibraryAttributes(3LIB)
SMHBA_GetWrapperLibraryAttributes(3LIB)
SMHBA_RegisterForAdapterAddEvents(3LIB)
SMHBA_RegisterForAdapterEvents(3LIB)
SMHBA_RegisterForAdapterPhyStatEvents(3LIB)
SMHBA_RegisterForAdapterPortEvents(3LIB)
SMHBA_RegisterForAdapterPortStatEvents(3LIB)
SMHBA_RegisterForTargetEvents(3LIB)
SMHBA_RemoveAllPersistentBindings(3LIB)
SMHBA_RemovePersistentBinding(3LIB)
- time types
#include <time.h>
The <time.h> header declares the structuretm, which includes the following members:
int tm_sec /* seconds [0,60] */int tm_min /* minutes [0,59] */int tm_hour /* hour [0,23] */int tm_mday /* day of month [1,31] */int tm_mon /* month of year [0,11] */int tm_year /* years since 1900 */int tm_wday /* day of week [0,6] (Sunday =0) */int tm_yday /* day of year [0,365] */int tm_isdst /* daylight savings flag */
The value oftm_isdst is positive if Daylight Saving Time is ineffect, 0 if Daylight Saving Time is not in effect, and negativeif the information is not available.
The <time.h> header defines the following symbolic names:
Null pointer constant.
A number used to convert the value returned by theclock() function into seconds. Seeclock(3C).
The identifier of the CPU-time clock associated with the process making aclock() ortimer*() function call.
The identifier of the CPU-time clock associated with the thread making aclock() ortimer*() function call.
The <time.h> header declares thetimespec structure, which has the following members:
time_t tv_sec /* seconds */long tv_nsec /* nanoseconds */
The <time.h> header declares theitimerspec structure, which has the following members:
struct timespec it_interval /* timer period */struct timespec it_value /* timer expiration */
The following manifest constants are defined:
The identifier of the system-wide realtime clock.
Flag indicating time is absolute. For functions taking timer objects, this refers to the clock associated with the timer.
The identifier for the system-wide monotonic clock, which is defined as a clock whose value cannot be set withclock_settime() and that cannot have backward clock jumps. The maximum possible clock jump is implementation-defined. Seeclock_settime(3C).
Theclock_t,size_t,time_t,clockid_t, andtimer_t types are defined as describedin <sys/types.h>. Seetypes.h(3HEAD).
Although the value ofCLOCKS_PER_SEC is required to be 1 million onall standard-conforming systems, it can be variable on other systems, and itshould not be assumed thatCLOCKS_PER_SEC is a compile-time constant.
The <time.h> header provides a declaration forgetdate_err.
The following are declared as variables:
extern int daylight;extern long timezone;extern char *tzname[];
Inclusion of the <time.h> header can make visible all symbols from the<signal.h> header.
The range [0,60] fortm_sec allows for the occasional leap second.
tm_year is a signed value; therefore, years before 1900 can be represented.
To obtain the number of clock ticks per second returned by thetimes() function, applications should callsysconf(_SC_CLK_TCK). Seetimes(2) andsysconf(3C).
Seeattributes(5) for descriptions of the following attributes:
|
time(2),utime(2),clock(3C),ctime(3C),difftime(3C),getdate(3C),mktime(3C),strftime(3C),strptime(3C),types.h(3HEAD),clock_settime(3C),nanosleep(3C),timer_create(3C),timer_delete(3C),timer_settime(3C),attributes(5),standards(5)
Copyright © 2011, Oracle and/or its affiliates. All rights reserved.Legal Notices | ![]() ![]() |