summaryrefslogtreecommitdiff
path: root/libc/include/stdlib.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'libc/include/stdlib.yaml')
-rw-r--r--libc/include/stdlib.yaml32
1 files changed, 32 insertions, 0 deletions
diff --git a/libc/include/stdlib.yaml b/libc/include/stdlib.yaml
index 495eb7e1317b..475224427924 100644
--- a/libc/include/stdlib.yaml
+++ b/libc/include/stdlib.yaml
@@ -17,6 +17,7 @@ types:
- type_name: lldiv_t
- type_name: locale_t
- type_name: size_t
+ - type_name: wchar_t
enums: []
objects: []
functions:
@@ -135,6 +136,22 @@ functions:
arguments:
- type: long long
- type: long long
+ - name: mbstowcs
+ standards:
+ - stdc
+ return_type: size_t
+ arguments:
+ - type: wchar_t *__restrict
+ - type: const char *__restrict
+ - type: size_t
+ - name: mbtowc
+ standards:
+ - stdc
+ return_type: int
+ arguments:
+ - type: wchar_t *__restrict
+ - type: const char *__restrict
+ - type: size_t
- name: memalignment
standards:
- stdc
@@ -332,3 +349,18 @@ functions:
return_type: int
arguments:
- type: const char *
+ - name: wctomb
+ standards:
+ - stdc
+ return_type: int
+ arguments:
+ - type: char *
+ - type: wchar_t
+ - name: wcstombs
+ standards:
+ - stdc
+ return_type: size_t
+ arguments:
+ - type: char *__restrict
+ - type: const wchar_t *__restrict
+ - type: size_t