Verified Commit db5dae20 authored by A. Wilcox's avatar A. Wilcox 🦊
Browse files

time: New module adding __strftime_l

parent 2eae317b
......@@ -16,9 +16,16 @@ locale
* New module.
* Adds newlocale and freelocale, which provide a glibc-compatible locale_t ABI.
* Add newlocale and freelocale, which provide a glibc-compatible locale_t ABI.
This is necessary for software using the libstdc++ <locale>/<ctype> modules.
time
----
* New module.
* Add __strftime_l.
unistd
------
......
......@@ -29,6 +29,7 @@ LIBGCOMPAT_SRC = \
libgcompat/string.c \
libgcompat/sysctl.c \
libgcompat/syslog.c \
libgcompat/time.c \
libgcompat/ucontext.c \
libgcompat/unistd.c \
libgcompat/utmp.c \
......
#include <time.h>
size_t __strftime_l(char *restrict s, size_t n, const char *restrict f,
const struct tm *restrict tm, locale_t loc)
{
return strftime_l(s, n, f, tm, loc);
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment