From 6f3cef856dda8063245cfdb030c791b7dbf3b163 Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Mon, 8 Jun 2020 17:10:52 +0800 Subject: [PATCH] libc: Add the remaining wscanf series declaration The function isn't implemented like other wide printf/scanf Signed-off-by: Xiang Xiao Change-Id: I0b26bb5174d1a9295fe2454d0e33f8227b8cbf8a --- include/wchar.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/wchar.h b/include/wchar.h index d5719b2818..9062c8cc31 100644 --- a/include/wchar.h +++ b/include/wchar.h @@ -176,8 +176,12 @@ int swprintf(FAR wchar_t *, size_t, FAR const wchar_t *, ...); int swscanf(FAR const wchar_t *, FAR const wchar_t *, ...); wint_t ungetwc(wint_t, FILE *); int vfwprintf(FILE *, FAR const wchar_t *, va_list); +int vfwscanf(FILE *, FAR const wchar_t *, va_list); int vwprintf(FAR const wchar_t *, va_list); -int vswprintf(wchar_t *, size_t, FAR const wchar_t *, +int vwscanf(FAR const wchar_t *, va_list); +int vswprintf(FAR wchar_t *, size_t, FAR const wchar_t *, + va_list); +int vswscanf(FAR const wchar_t *, FAR const wchar_t *, va_list); size_t wcrtomb(FAR char *, wchar_t, FAR mbstate_t *); FAR wchar_t *wcscat(FAR wchar_t *, FAR const wchar_t *);