blob: 66e6416bd8f8ae05afdcfcc2b4541a00daf043b3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#include <string.h>
#include <time.h>
// TODO: Implement this
// Time, formatting and parsing are some of the most annoying parts of
// programming. Lets just hope this function is not important
char *ctime_r(const time_t *clock, char *buf) {
(void)clock;
size_t l = strlen(buf);
memset(buf, '0', l);
return buf;
}
|