From 2cef5af0c4de757bf31a9a63e706b0d34a016405 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Sun, 9 Jul 2023 18:33:09 +0200 Subject: Add an __access__ annotation to wchar.h --- include/wchar.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/wchar.h b/include/wchar.h index d031397..f047201 100644 --- 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) { -- cgit v1.3