LibC: Stub out wcsftime()

This commit is contained in:
Ali Mohammad Pur 2021-12-19 23:31:35 +03:30 committed by Ali Mohammad Pur
parent e717ca32d1
commit 687a3351c2
2 changed files with 12 additions and 0 deletions

View file

@ -646,4 +646,14 @@ size_t wcsspn(wchar_t const* wcs, wchar_t const* accept)
} while (rc != 0);
}
}
size_t wcsftime(wchar_t* __restrict wcs, size_t maxsize, wchar_t const* __restrict format, const struct tm* __restrict timeptr)
{
(void)wcs;
(void)maxsize;
(void)format;
(void)timeptr;
dbgln("FIXME: Implement wcsftime()");
TODO();
}
}

View file

@ -95,4 +95,6 @@ int vfwscanf(FILE* __restrict stream, const wchar_t* __restrict format, va_list
int vswscanf(const wchar_t* __restrict ws, const wchar_t* __restrict format, va_list arg);
int vwscanf(const wchar_t* __restrict format, va_list arg);
size_t wcsftime(wchar_t* __restrict wcs, size_t maxsize, const wchar_t* __restrict format, const struct tm* __restrict timeptr);
__END_DECLS