From d9feee06053d1f3c006de00b00dd5feb54ca75e5 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Mon, 21 Aug 2023 00:43:30 +0200 Subject: Add tests for fgetws and mbsrtowcs --- include/wchar.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/wchar.h b/include/wchar.h index 89ae539..4ca49e8 100644 --- a/include/wchar.h +++ b/include/wchar.h @@ -229,7 +229,7 @@ _FORTIFY_FN(wcsrtombs) size_t wcsrtombs(char * _FORTIFY_POS0 __d, return __r; } -__access(write_only, 2, 3) +__access(write_only, 1, 3) __diagnose_as_builtin(__builtin_wcstombs, 1, 2, 3) _FORTIFY_FN(wcstombs) size_t wcstombs(char * _FORTIFY_POS0 __s, const wchar_t *__ws, size_t __n) -- cgit v1.3