source: trunk/minix/lib/ansi/ctime.c@ 20

Last change on this file since 20 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

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
8char *
9ctime(const time_t *timer)
10{
11 return asctime(localtime(timer));
12}
Note: See TracBrowser for help on using the repository browser.