commit 2cef5af0c4de757bf31a9a63e706b0d34a016405
parent a37c769fbbc956461210317fa856be4042c144f4
Author: jvoisin <julien.voisin@dustri.org>
Date: Sun, 9 Jul 2023 18:33:09 +0200
Add an __access__ annotation to wchar.h
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/include/wchar.h b/include/wchar.h
@@ -218,6 +218,7 @@ _FORTIFY_FN(wcsrtombs) size_t wcsrtombs(char * _FORTIFY_POS0 __d,
return __r;
}
+__access(write_only, 2, 3)
_FORTIFY_FN(wcstombs) size_t wcstombs(char * _FORTIFY_POS0 __s,
const wchar_t *__ws, size_t __n)
{