aboutsummaryrefslogtreecommitdiff
path: root/libc/include/stdlib.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'libc/include/stdlib.yaml')
-rw-r--r--libc/include/stdlib.yaml34
1 files changed, 33 insertions, 1 deletions
diff --git a/libc/include/stdlib.yaml b/libc/include/stdlib.yaml
index 3b2ff13..4752244 100644
--- a/libc/include/stdlib.yaml
+++ b/libc/include/stdlib.yaml
@@ -5,7 +5,7 @@ standards:
merge_yaml_files:
- stdlib-malloc.yaml
macros:
- - macro_name: NULL
+ - macro_name: "NULL"
macro_header: null-macro.h
types:
- type_name: __atexithandler_t
@@ -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