ctime.c 162 B

123456789101112
  1. /*
  2. * ctime - convers the calendar time to a string
  3. */
  4. /* $Id$ */
  5. #include <time.h>
  6. char *
  7. (ctime)(const time_t *timer)
  8. {
  9. return asctime(localtime(timer));
  10. }