Open System Services System Calls Reference Manual (G06.27+, H06.04+)
gettimeofday(2) OSS System Calls Reference Manual
ERRORS
If any of the following conditions occurs, the gettimeofday() function sets errno to the
corresponding value:
[EFAULT] A parameter points to an invalid address.
[ENOTOSS] The calling process is not an OSS process. The requested operation is not sup-
ported from the Guardian environment.
RELATED INFORMATION
Functions: ctime(3), strftime(3).
Commands: date(1).
STANDARDS CONFORMANCE
In the HP implementation:
• The tzp parameter is not a type void data item.
• The tz_dsttime field is always set to 0 (zero).
The following are HP extensions to the XPG4 Version 2 specification:
• This function returns errno values.
• The behavior when the tzp parameter is a null pointer is specified.
3−58 Hewlett-Packard Company 527186-004