libc: Stub out strftime
This commit is contained in:
parent
8f17578e2e
commit
fa35e883d7
@ -1,6 +1,8 @@
|
|||||||
#ifndef _TIME_H
|
#ifndef _TIME_H
|
||||||
#define _TIME_H
|
#define _TIME_H
|
||||||
|
|
||||||
|
#include <stddef.h>
|
||||||
|
|
||||||
typedef long int clock_t;
|
typedef long int clock_t;
|
||||||
typedef long int time_t;
|
typedef long int time_t;
|
||||||
|
|
||||||
@ -36,6 +38,7 @@ extern "C"
|
|||||||
|
|
||||||
struct tm* localtime(const time_t* timep); // Not implemented.
|
struct tm* localtime(const time_t* timep); // Not implemented.
|
||||||
struct tm* gmtime(const time_t* timep); // Not implemented.
|
struct tm* gmtime(const time_t* timep); // Not implemented.
|
||||||
|
size_t strftime(char* str, size_t max, const char* format, const struct tm* time); // Not implemented.
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -28,4 +28,9 @@ extern "C"
|
|||||||
{
|
{
|
||||||
NOT_IMPLEMENTED("gmtime");
|
NOT_IMPLEMENTED("gmtime");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
size_t strftime(char*, size_t, const char*, const struct tm*)
|
||||||
|
{
|
||||||
|
NOT_IMPLEMENTED("strftime");
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user