You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ag...@apache.org on 2020/06/08 10:43:15 UTC

[incubator-nuttx] branch master updated: libc: Add the remaining wscanf series declaration

This is an automated email from the ASF dual-hosted git repository.

aguettouche pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new 6f3cef8  libc: Add the remaining wscanf series declaration
6f3cef8 is described below

commit 6f3cef856dda8063245cfdb030c791b7dbf3b163
Author: Xiang Xiao <xi...@xiaomi.com>
AuthorDate: Mon Jun 8 17:10:52 2020 +0800

    libc: Add the remaining wscanf series declaration
    
    The function isn't implemented like other wide printf/scanf
    
    Signed-off-by: Xiang Xiao <xi...@xiaomi.com>
    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 d5719b2..9062c8c 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 *);