diff options
| author | jvoisin | 2023-07-09 18:33:09 +0200 |
|---|---|---|
| committer | jvoisin | 2023-07-09 18:33:09 +0200 |
| commit | 2cef5af0c4de757bf31a9a63e706b0d34a016405 (patch) | |
| tree | 252217c74b6e728a4ed21722174654d3906d63eb | |
| parent | a37c769fbbc956461210317fa856be4042c144f4 (diff) | |
Add an __access__ annotation to wchar.h
| -rw-r--r-- | include/wchar.h | 1 |
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 | { |
