summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorjvoisin2023-07-09 18:33:09 +0200
committerjvoisin2023-07-09 18:33:09 +0200
commit2cef5af0c4de757bf31a9a63e706b0d34a016405 (patch)
tree252217c74b6e728a4ed21722174654d3906d63eb /include
parenta37c769fbbc956461210317fa856be4042c144f4 (diff)
Add an __access__ annotation to wchar.h
Diffstat (limited to 'include')
-rw-r--r--include/wchar.h1
1 files changed, 1 insertions, 0 deletions
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,
218 return __r; 218 return __r;
219} 219}
220 220
221__access(write_only, 2, 3)
221_FORTIFY_FN(wcstombs) size_t wcstombs(char * _FORTIFY_POS0 __s, 222_FORTIFY_FN(wcstombs) size_t wcstombs(char * _FORTIFY_POS0 __s,
222 const wchar_t *__ws, size_t __n) 223 const wchar_t *__ws, size_t __n)
223{ 224{