xref: /third_party/musl/porting/liteos_m/kernel/include/malloc.h
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/musl/porting/liteos_m/kernel/include/
1570af302Sopenharmony_ci#ifndef _MALLOC_H
2570af302Sopenharmony_ci#define _MALLOC_H
3570af302Sopenharmony_ci
4570af302Sopenharmony_ci#ifdef __cplusplus
5570af302Sopenharmony_ciextern "C" {
6570af302Sopenharmony_ci#endif
7570af302Sopenharmony_ci
8570af302Sopenharmony_ci#define __NEED_size_t
9570af302Sopenharmony_ci
10570af302Sopenharmony_ci#include <bits/alltypes.h>
11570af302Sopenharmony_ci
12570af302Sopenharmony_civoid *malloc (size_t);
13570af302Sopenharmony_civoid *calloc (size_t, size_t);
14570af302Sopenharmony_civoid *realloc (void *, size_t);
15570af302Sopenharmony_civoid free (void *);
16570af302Sopenharmony_civoid *valloc (size_t);
17570af302Sopenharmony_civoid *memalign(size_t, size_t);
18570af302Sopenharmony_ci
19570af302Sopenharmony_cisize_t malloc_usable_size(void *);
20570af302Sopenharmony_ci
21570af302Sopenharmony_ci#ifdef __cplusplus
22570af302Sopenharmony_ci}
23570af302Sopenharmony_ci#endif
24570af302Sopenharmony_ci
25570af302Sopenharmony_ci#endif
26

Indexes created Thu Nov 07 10:32:03 CST 2024