source:
trunk/minix/lib/ansi/ctime.c@
15
| Last change on this file since 15 was 9, checked in by , 15 years ago | |
|---|---|
| File size: 239 bytes | |
| Line | |
|---|---|
| 1 | /* |
| 2 | * ctime - convers the calendar time to a string |
| 3 | */ |
| 4 | /* $Header: /cvsup/minix/src/lib/ansi/ctime.c,v 1.1.1.1 2005/04/21 14:56:04 beng Exp $ */ |
| 5 | |
| 6 | #include <time.h> |
| 7 | |
| 8 | char * |
| 9 | ctime(const time_t *timer) |
| 10 | { |
| 11 | return asctime(localtime(timer)); |
| 12 | } |
Note:
See TracBrowser
for help on using the repository browser.