/sys$common/syshlp/helplib.hlb
CC, Run-time functions, ctime, ctime_r

 *Conan The Librarian (sorry for the slow response - running on an old VAX)

  Converts a time, in seconds, to the following form:

  Sun Sep 16 01:03:52 1984\n\0

  All fields have a constant width.

  ctime_r puts the result into a user-specified buffer.

  ctime 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 *ctime(const time_t *bintim);

       char *ctime_r(const time_t *bintim, char *buffer);  [posix1]
  Close     HLB-list     TLB-list     Help  

[legal] [privacy] [GNU] [policy] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.