Added stub for ctime(3).
This commit is contained in:
parent
e2d673294c
commit
00c3aaa919
|
@ -33,6 +33,7 @@ __BEGIN_DECLS
|
|||
|
||||
clock_t clock(void);
|
||||
time_t time(time_t* t);
|
||||
char* ctime(const time_t* timep);
|
||||
|
||||
__END_DECLS
|
||||
|
||||
|
|
|
@ -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";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue