/sys$common/syshlp/helplib.hlb CC, Run-time functions, asctime, asctime_r *Conan The Librarian (sorry for the slow response - running on an old VAX) |
Converts a broken-down time into a 26-character string in the following form: Sun Sep 16 01:03:52 1984\n\0 All fields have a constant width. asctime_r puts the result into a user-specified buffer. asctime puts the result into thread-specific static memory allocated by the Compaq C RTL, which can be overwritten by subsequent calls to ctime or asctime; you must make a copy if you want to save it. Syntax: #include <time.h> char *asctime(const struct tm *timeptr); char *asctime_r(const struct tm *timeptr, char *buffer); [posix1]
|