diff options
| author | Rich Felker <dalias@aerifal.cx> | 2012-02-06 21:51:02 -0500 |
|---|---|---|
| committer | Rich Felker <dalias@aerifal.cx> | 2012-02-06 21:51:02 -0500 |
| commit | 36bf56940af90baa478dd1258884291d5d213d10 (patch) | |
| tree | f959d61ee79470575a2921e568442ec9c0b11b6e /src/locale/strftime_l.c | |
| parent | fix some omissions and mistakes in locale_t interface definitions (diff) | |
| download | grovel-36bf56940af90baa478dd1258884291d5d213d10.tar.gz grovel-36bf56940af90baa478dd1258884291d5d213d10.tar.xz | |
more locale_t interfaces (string stuff) and header updates
this should be everything except for some functions where the non-_l
version isn't even implemented yet (mainly some non-ISO-C wcs*
functions).
Diffstat (limited to 'src/locale/strftime_l.c')
| -rw-r--r-- | src/locale/strftime_l.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/locale/strftime_l.c b/src/locale/strftime_l.c new file mode 100644 index 00000000..70b2f151 --- /dev/null +++ b/src/locale/strftime_l.c @@ -0,0 +1,7 @@ +#include <locale.h> +#include <time.h> + +size_t strftime_l(char *s, size_t n, const char *f, const struct tm *tm, locale_t l) +{ + return strftime(s, n, f, tm); +} |
