mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:37:35 +00:00
LibC: A bunch of compat work towards porting GCC.
This commit is contained in:
parent
9fd4f4862b
commit
93c0dfd1d7
18 changed files with 166 additions and 13 deletions
|
@ -85,9 +85,15 @@ struct tm* localtime(const time_t* t)
|
|||
|
||||
struct tm* gmtime(const time_t* t)
|
||||
{
|
||||
// FIXME: This is obviously not correct. What about timezones bro?
|
||||
return localtime(t);
|
||||
}
|
||||
|
||||
char *asctime(const struct tm*)
|
||||
{
|
||||
assert(false);
|
||||
}
|
||||
|
||||
size_t strftime(char *s, size_t max, const char *format, const struct tm *tm)
|
||||
{
|
||||
assert(false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue