Files
llvm-project/libc/include/stdlib-malloc.yaml
Roland McGrath 5156147824 [libc] Declare reallocarray in stdlib.h / malloc.h (#184223)
Scudo now provides reallocarray, so declare it.
2026-03-02 13:47:43 -08:00

61 lines
1.1 KiB
YAML

# This file has declarations that appear both in <stdlib.h> and in <malloc.h>.
# These include the subset of GNU extensions that Scudo supports.
functions:
- name: aligned_alloc
standards:
- stdc
return_type: void *
arguments:
- type: size_t
- type: size_t
- name: calloc
standards:
- stdc
return_type: void *
arguments:
- type: size_t
- type: size_t
- name: free
standards:
- stdc
return_type: void
arguments:
- type: void *
- name: malloc
standards:
- stdc
return_type: void *
arguments:
- type: size_t
- name: memalign
standards:
- gnu
return_type: void *
arguments:
- type: size_t
- type: size_t
- name: realloc
standards:
- stdc
return_type: void *
arguments:
- type: void *
- type: size_t
- name: reallocarray
standards:
- bsd
- gnu
return_type: void *
arguments:
- type: void *
- type: size_t
- type: size_t
- name: valloc
standards:
- bsd
- gnu
return_type: void *
arguments:
- type: size_t