diff options
Diffstat (limited to 'include/wchar.h')
| -rw-r--r-- | include/wchar.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/include/wchar.h b/include/wchar.h index f613429..6742dca 100644 --- a/include/wchar.h +++ b/include/wchar.h | |||
| @@ -29,7 +29,7 @@ extern "C" { | |||
| 29 | 29 | ||
| 30 | extern wchar_t *__fgetws_orig(wchar_t *, int, FILE *) | 30 | extern wchar_t *__fgetws_orig(wchar_t *, int, FILE *) |
| 31 | __asm__(__USER_LABEL_PREFIX__ "fgetws"); | 31 | __asm__(__USER_LABEL_PREFIX__ "fgetws"); |
| 32 | extern __inline __attribute__((__always_inline__,__gnu_inline__)) | 32 | extern __inline __attribute__((__always_inline__,__gnu_inline__,__artificial__)) |
| 33 | wchar_t *fgetws(wchar_t *s, int n, FILE *fp) | 33 | wchar_t *fgetws(wchar_t *s, int n, FILE *fp) |
| 34 | { | 34 | { |
| 35 | size_t bos = __builtin_object_size(s, 0); | 35 | size_t bos = __builtin_object_size(s, 0); |
| @@ -41,7 +41,7 @@ wchar_t *fgetws(wchar_t *s, int n, FILE *fp) | |||
| 41 | 41 | ||
| 42 | extern size_t __mbsnrtowcs_orig(wchar_t *, const char **, size_t, size_t, mbstate_t *) | 42 | extern size_t __mbsnrtowcs_orig(wchar_t *, const char **, size_t, size_t, mbstate_t *) |
| 43 | __asm__(__USER_LABEL_PREFIX__ "mbsnrtowcs"); | 43 | __asm__(__USER_LABEL_PREFIX__ "mbsnrtowcs"); |
| 44 | extern __inline __attribute__((__always_inline__,__gnu_inline__)) | 44 | extern __inline __attribute__((__always_inline__,__gnu_inline__,__artificial__)) |
| 45 | size_t mbsnrtowcs(wchar_t *d, const char **s, size_t n, size_t wn, mbstate_t *st) | 45 | size_t mbsnrtowcs(wchar_t *d, const char **s, size_t n, size_t wn, mbstate_t *st) |
| 46 | { | 46 | { |
| 47 | size_t bos = __builtin_object_size(d, 0); | 47 | size_t bos = __builtin_object_size(d, 0); |
| @@ -62,7 +62,7 @@ size_t mbsnrtowcs(wchar_t *d, const char **s, size_t n, size_t wn, mbstate_t *st | |||
| 62 | 62 | ||
| 63 | extern size_t __mbsrtowcs_orig(wchar_t *, const char **, size_t, mbstate_t *) | 63 | extern size_t __mbsrtowcs_orig(wchar_t *, const char **, size_t, mbstate_t *) |
| 64 | __asm__(__USER_LABEL_PREFIX__ "mbsrtowcs"); | 64 | __asm__(__USER_LABEL_PREFIX__ "mbsrtowcs"); |
| 65 | extern __inline __attribute__((__always_inline__,__gnu_inline__)) | 65 | extern __inline __attribute__((__always_inline__,__gnu_inline__,__artificial__)) |
| 66 | size_t mbsrtowcs(wchar_t *d, const char **s, size_t wn, mbstate_t *st) | 66 | size_t mbsrtowcs(wchar_t *d, const char **s, size_t wn, mbstate_t *st) |
| 67 | { | 67 | { |
| 68 | size_t bos = __builtin_object_size(d, 0); | 68 | size_t bos = __builtin_object_size(d, 0); |
| @@ -77,7 +77,7 @@ size_t mbsrtowcs(wchar_t *d, const char **s, size_t wn, mbstate_t *st) | |||
| 77 | 77 | ||
| 78 | extern size_t __mbstowcs_orig(wchar_t *, const char *, size_t) | 78 | extern size_t __mbstowcs_orig(wchar_t *, const char *, size_t) |
| 79 | __asm__(__USER_LABEL_PREFIX__ "mbstowcs"); | 79 | __asm__(__USER_LABEL_PREFIX__ "mbstowcs"); |
| 80 | extern __inline __attribute__((__always_inline__,__gnu_inline__)) | 80 | extern __inline __attribute__((__always_inline__,__gnu_inline__,__artificial__)) |
| 81 | size_t mbstowcs(wchar_t *ws, const char *s, size_t wn) | 81 | size_t mbstowcs(wchar_t *ws, const char *s, size_t wn) |
| 82 | { | 82 | { |
| 83 | size_t bos = __builtin_object_size(ws, 0); | 83 | size_t bos = __builtin_object_size(ws, 0); |
| @@ -89,7 +89,7 @@ size_t mbstowcs(wchar_t *ws, const char *s, size_t wn) | |||
| 89 | 89 | ||
| 90 | extern size_t __wcrtomb_orig(char *, wchar_t, mbstate_t *) | 90 | extern size_t __wcrtomb_orig(char *, wchar_t, mbstate_t *) |
| 91 | __asm__(__USER_LABEL_PREFIX__ "wcrtomb"); | 91 | __asm__(__USER_LABEL_PREFIX__ "wcrtomb"); |
| 92 | extern __inline __attribute__((__always_inline__,__gnu_inline__)) | 92 | extern __inline __attribute__((__always_inline__,__gnu_inline__,__artificial__)) |
| 93 | size_t wcrtomb(char *s, wchar_t wc, mbstate_t *st) | 93 | size_t wcrtomb(char *s, wchar_t wc, mbstate_t *st) |
| 94 | { | 94 | { |
| 95 | size_t bos = __builtin_object_size(s, 0); | 95 | size_t bos = __builtin_object_size(s, 0); |
| @@ -101,7 +101,7 @@ size_t wcrtomb(char *s, wchar_t wc, mbstate_t *st) | |||
| 101 | 101 | ||
| 102 | extern wchar_t *__wcscat_orig(wchar_t *, const wchar_t *) | 102 | extern wchar_t *__wcscat_orig(wchar_t *, const wchar_t *) |
| 103 | __asm__(__USER_LABEL_PREFIX__ "wcscat"); | 103 | __asm__(__USER_LABEL_PREFIX__ "wcscat"); |
| 104 | extern __inline __attribute__((__always_inline__,__gnu_inline__)) | 104 | extern __inline __attribute__((__always_inline__,__gnu_inline__,__artificial__)) |
| 105 | wchar_t *wcscat(wchar_t *d, const wchar_t *s) | 105 | wchar_t *wcscat(wchar_t *d, const wchar_t *s) |
| 106 | { | 106 | { |
| 107 | size_t bos = __builtin_object_size(d, 0); | 107 | size_t bos = __builtin_object_size(d, 0); |
| @@ -113,7 +113,7 @@ wchar_t *wcscat(wchar_t *d, const wchar_t *s) | |||
| 113 | 113 | ||
| 114 | extern wchar_t *__wcscpy_orig(wchar_t *, const wchar_t *) | 114 | extern wchar_t *__wcscpy_orig(wchar_t *, const wchar_t *) |
| 115 | __asm__(__USER_LABEL_PREFIX__ "wcscpy"); | 115 | __asm__(__USER_LABEL_PREFIX__ "wcscpy"); |
| 116 | extern __inline __attribute__((__always_inline__,__gnu_inline__)) | 116 | extern __inline __attribute__((__always_inline__,__gnu_inline__,__artificial__)) |
| 117 | wchar_t *wcscpy(wchar_t *d, const wchar_t *s) | 117 | wchar_t *wcscpy(wchar_t *d, const wchar_t *s) |
| 118 | { | 118 | { |
| 119 | size_t bos = __builtin_object_size(d, 0); | 119 | size_t bos = __builtin_object_size(d, 0); |
| @@ -125,7 +125,7 @@ wchar_t *wcscpy(wchar_t *d, const wchar_t *s) | |||
| 125 | 125 | ||
| 126 | extern wchar_t *__wcsncat_orig(wchar_t *, const wchar_t *, size_t) | 126 | extern wchar_t *__wcsncat_orig(wchar_t *, const wchar_t *, size_t) |
| 127 | __asm__(__USER_LABEL_PREFIX__ "wcsncat"); | 127 | __asm__(__USER_LABEL_PREFIX__ "wcsncat"); |
| 128 | extern __inline __attribute__((__always_inline__,__gnu_inline__)) | 128 | extern __inline __attribute__((__always_inline__,__gnu_inline__,__artificial__)) |
| 129 | wchar_t *wcsncat(wchar_t *d, const wchar_t *s, size_t n) | 129 | wchar_t *wcsncat(wchar_t *d, const wchar_t *s, size_t n) |
| 130 | { | 130 | { |
| 131 | size_t bos = __builtin_object_size(d, 0); | 131 | size_t bos = __builtin_object_size(d, 0); |
| @@ -144,7 +144,7 @@ wchar_t *wcsncat(wchar_t *d, const wchar_t *s, size_t n) | |||
| 144 | 144 | ||
| 145 | extern wchar_t *__wcsncpy_orig(wchar_t *, const wchar_t *, size_t) | 145 | extern wchar_t *__wcsncpy_orig(wchar_t *, const wchar_t *, size_t) |
| 146 | __asm__(__USER_LABEL_PREFIX__ "wcsncpy"); | 146 | __asm__(__USER_LABEL_PREFIX__ "wcsncpy"); |
| 147 | extern __inline __attribute__((__always_inline__,__gnu_inline__)) | 147 | extern __inline __attribute__((__always_inline__,__gnu_inline__,__artificial__)) |
| 148 | wchar_t *wcsncpy(wchar_t *d, const wchar_t *s, size_t n) | 148 | wchar_t *wcsncpy(wchar_t *d, const wchar_t *s, size_t n) |
| 149 | { | 149 | { |
| 150 | size_t bos = __builtin_object_size(d, 0); | 150 | size_t bos = __builtin_object_size(d, 0); |
| @@ -156,7 +156,7 @@ wchar_t *wcsncpy(wchar_t *d, const wchar_t *s, size_t n) | |||
| 156 | 156 | ||
| 157 | extern size_t __wcsnrtombs_orig(char *, const wchar_t **, size_t, size_t, mbstate_t *) | 157 | extern size_t __wcsnrtombs_orig(char *, const wchar_t **, size_t, size_t, mbstate_t *) |
| 158 | __asm__(__USER_LABEL_PREFIX__ "wcsnrtombs"); | 158 | __asm__(__USER_LABEL_PREFIX__ "wcsnrtombs"); |
| 159 | extern __inline __attribute__((__always_inline__,__gnu_inline__)) | 159 | extern __inline __attribute__((__always_inline__,__gnu_inline__,__artificial__)) |
| 160 | size_t wcsnrtombs(char *d, const wchar_t **s, size_t wn, size_t n, mbstate_t *st) | 160 | size_t wcsnrtombs(char *d, const wchar_t **s, size_t wn, size_t n, mbstate_t *st) |
| 161 | { | 161 | { |
| 162 | size_t bos = __builtin_object_size(d, 0); | 162 | size_t bos = __builtin_object_size(d, 0); |
| @@ -177,7 +177,7 @@ size_t wcsnrtombs(char *d, const wchar_t **s, size_t wn, size_t n, mbstate_t *st | |||
| 177 | 177 | ||
| 178 | extern size_t __wcsrtombs_orig(char *, const wchar_t **, size_t, mbstate_t *) | 178 | extern size_t __wcsrtombs_orig(char *, const wchar_t **, size_t, mbstate_t *) |
| 179 | __asm__(__USER_LABEL_PREFIX__ "wcsrtombs"); | 179 | __asm__(__USER_LABEL_PREFIX__ "wcsrtombs"); |
| 180 | extern __inline __attribute__((__always_inline__,__gnu_inline__)) | 180 | extern __inline __attribute__((__always_inline__,__gnu_inline__,__artificial__)) |
| 181 | size_t wcsrtombs(char *d, const wchar_t **s, size_t n, mbstate_t *st) | 181 | size_t wcsrtombs(char *d, const wchar_t **s, size_t n, mbstate_t *st) |
| 182 | { | 182 | { |
| 183 | size_t bos = __builtin_object_size(d, 0); | 183 | size_t bos = __builtin_object_size(d, 0); |
| @@ -191,7 +191,7 @@ size_t wcsrtombs(char *d, const wchar_t **s, size_t n, mbstate_t *st) | |||
| 191 | 191 | ||
| 192 | extern size_t __wcstombs_orig(char *, const wchar_t *, size_t) | 192 | extern size_t __wcstombs_orig(char *, const wchar_t *, size_t) |
| 193 | __asm__(__USER_LABEL_PREFIX__ "wcstombs"); | 193 | __asm__(__USER_LABEL_PREFIX__ "wcstombs"); |
| 194 | extern __inline __attribute__((__always_inline__,__gnu_inline__)) | 194 | extern __inline __attribute__((__always_inline__,__gnu_inline__,__artificial__)) |
| 195 | size_t wcstombs(char *s, const wchar_t *ws, size_t n) | 195 | size_t wcstombs(char *s, const wchar_t *ws, size_t n) |
| 196 | { | 196 | { |
| 197 | size_t bos = __builtin_object_size(s, 0); | 197 | size_t bos = __builtin_object_size(s, 0); |
| @@ -203,7 +203,7 @@ size_t wcstombs(char *s, const wchar_t *ws, size_t n) | |||
| 203 | 203 | ||
| 204 | extern int __wctomb_orig(char *, wchar_t) | 204 | extern int __wctomb_orig(char *, wchar_t) |
| 205 | __asm__(__USER_LABEL_PREFIX__ "wctomb"); | 205 | __asm__(__USER_LABEL_PREFIX__ "wctomb"); |
| 206 | extern __inline __attribute__((__always_inline__,__gnu_inline__)) | 206 | extern __inline __attribute__((__always_inline__,__gnu_inline__,__artificial__)) |
| 207 | int wctomb(char *s, wchar_t wc) | 207 | int wctomb(char *s, wchar_t wc) |
| 208 | { | 208 | { |
| 209 | size_t bos = __builtin_object_size(s, 0); | 209 | size_t bos = __builtin_object_size(s, 0); |
| @@ -215,7 +215,7 @@ int wctomb(char *s, wchar_t wc) | |||
| 215 | 215 | ||
| 216 | extern wchar_t *__wmemcpy_orig(wchar_t *, const wchar_t *, size_t) | 216 | extern wchar_t *__wmemcpy_orig(wchar_t *, const wchar_t *, size_t) |
| 217 | __asm__(__USER_LABEL_PREFIX__ "wmemcpy"); | 217 | __asm__(__USER_LABEL_PREFIX__ "wmemcpy"); |
| 218 | extern __inline __attribute__((__always_inline__,__gnu_inline__)) | 218 | extern __inline __attribute__((__always_inline__,__gnu_inline__,__artificial__)) |
| 219 | wchar_t *wmemcpy(wchar_t *d, const wchar_t *s, size_t n) | 219 | wchar_t *wmemcpy(wchar_t *d, const wchar_t *s, size_t n) |
| 220 | { | 220 | { |
| 221 | size_t bos = __builtin_object_size(d, 0); | 221 | size_t bos = __builtin_object_size(d, 0); |
| @@ -227,7 +227,7 @@ wchar_t *wmemcpy(wchar_t *d, const wchar_t *s, size_t n) | |||
| 227 | 227 | ||
| 228 | extern wchar_t *__wmemmove_orig(wchar_t *, const wchar_t *, size_t) | 228 | extern wchar_t *__wmemmove_orig(wchar_t *, const wchar_t *, size_t) |
| 229 | __asm__(__USER_LABEL_PREFIX__ "wmemmove"); | 229 | __asm__(__USER_LABEL_PREFIX__ "wmemmove"); |
| 230 | extern __inline __attribute__((__always_inline__,__gnu_inline__)) | 230 | extern __inline __attribute__((__always_inline__,__gnu_inline__,__artificial__)) |
| 231 | wchar_t *wmemmove(wchar_t *d, const wchar_t *s, size_t n) | 231 | wchar_t *wmemmove(wchar_t *d, const wchar_t *s, size_t n) |
| 232 | { | 232 | { |
| 233 | size_t bos = __builtin_object_size(d, 0); | 233 | size_t bos = __builtin_object_size(d, 0); |
| @@ -239,7 +239,7 @@ wchar_t *wmemmove(wchar_t *d, const wchar_t *s, size_t n) | |||
| 239 | 239 | ||
| 240 | extern wchar_t *__wmemset_orig(wchar_t *, wchar_t, size_t) | 240 | extern wchar_t *__wmemset_orig(wchar_t *, wchar_t, size_t) |
| 241 | __asm__(__USER_LABEL_PREFIX__ "wmemset"); | 241 | __asm__(__USER_LABEL_PREFIX__ "wmemset"); |
| 242 | extern __inline __attribute__((__always_inline__,__gnu_inline__)) | 242 | extern __inline __attribute__((__always_inline__,__gnu_inline__,__artificial__)) |
| 243 | wchar_t *wmemset(wchar_t *s, wchar_t c, size_t n) | 243 | wchar_t *wmemset(wchar_t *s, wchar_t c, size_t n) |
| 244 | { | 244 | { |
| 245 | size_t bos = __builtin_object_size(s, 0); | 245 | size_t bos = __builtin_object_size(s, 0); |
