1
0
Fork 0
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:
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";
}
}
}