Open System Services Library Calls Reference Manual (G06.29+, H06.08+, J06.03+)
OSS Library Calls (a - d) ctime_r(3)
/G/system/zdllnnn/zsptdll (H-series or J-series)
• Compile your application using the #define_SPT_MODEL_ macro or an equivalent
compiler command option.
For more detailed information about writing multi-threaded or 64-bit applications for the Open |
System Services environment, see the Open System Services Programmer’s Guide.
RETURN VALUES
Upon successful completion, the ctime_r() function puts the string into the array pointed to by
buf and returns buf. On error, this function returns a null pointer.
ERRORS
No error values are returned. This function does not set the errno variable.
RELATED INFORMATION
Functions: asctime(3), asctime_r(3), ctime(3), ctime_r(3), difftime(3), getenv(3), getenv_r(3),
gmtime(3), gmtime_r(3), localtime(3), localtime_r(3), mktime(3), strftime(3), time(3),
tzset(3), utime(3).
STANDARDS CONFORMANCE
Interfaces documented on this reference page conform to the following industry standards:
• IEEE Std 1003.1-2004, POSIX System Application Program Interface
The use of the header file spthread.h is an HP exception to the POSIX standard.
527187-017 Hewlett-Packard Company 1−171