Added stub for ctime(3).

This commit is contained in:
Jonas 'Sortie' Termansen 2012-03-04 23:51:39 +01:00
parent e2d673294c
commit 00c3aaa919
2 changed files with 6 additions and 0 deletions

View File

@ -33,6 +33,7 @@ __BEGIN_DECLS
clock_t clock(void);
time_t time(time_t* t);
char* ctime(const time_t* timep);
__END_DECLS

View File

@ -59,5 +59,10 @@ namespace Maxsi
*t = 0;
return 0;
}
extern "C" char* ctime(const time_t* timep)
{
return (char*) "ctime(3) is not implemented";
}
}
}