From d6b2a407783dbbd6c9680601da005de0bb0ff37d Mon Sep 17 00:00:00 2001 From: Manuel Novoa III Date: Mon, 17 Jun 2002 09:45:15 +0000 Subject: Commit the new time stuff, even though I haven't made it threadsafe yet. At least people can play with it. Also, fix a buglet in setenv.c. --- libc/misc/time/ctime.c | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 libc/misc/time/ctime.c (limited to 'libc/misc/time/ctime.c') diff --git a/libc/misc/time/ctime.c b/libc/misc/time/ctime.c deleted file mode 100644 index 027f5d5a7..000000000 --- a/libc/misc/time/ctime.c +++ /dev/null @@ -1,14 +0,0 @@ - -#include -#include - -char * ctime (const time_t *t) -{ - - /* According to IEEE Std 1003.1-2001: The ctime() function shall - * convert the time pointed to by clock, representing time in - * seconds since the Epoch, to local time in the form of a string. - * It shall be equivalent to: asctime(localtime(clock)) */ - return asctime (localtime (t)); -} - -- cgit v1.2.3