/[osn-commons]/trunk/plibc/lib/malloc.h
ViewVC logotype

Contents of /trunk/plibc/lib/malloc.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 47 - (show annotations)
Thu Aug 15 18:10:51 2024 UTC (7 months, 2 weeks ago) by rakinar2
File MIME type: text/x-c
File size: 354 byte(s)
feat: add plibc to the project
1 #ifndef PLIBC_MALLOC_H
2 #define PLIBC_MALLOC_H
3
4 #include <stddef.h>
5
6 void *malloc (size_t size);
7 void *calloc (size_t nmemb, size_t size);
8 void *realloc (void *ptr, size_t size);
9 void free (void *ptr);
10
11 void bzero (void *ptr, size_t size);
12
13 #ifdef _PLIBC_INTERNALS
14 void __plibc_heap_reset (void);
15 #endif /* _PLIBC_INTERNALS */
16
17 #endif /* PLIBC_MALLOC_H */

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26