mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Added stub for ctime(3).
This commit is contained in:
parent
e2d673294c
commit
00c3aaa919
2 changed files with 6 additions and 0 deletions
|
@ -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 a new issue