[Krafton Jungle] PintOS 2.0.0
크래프톤 정글 PintOS
 
Loading...
Searching...
No Matches
malloc.h
Go to the documentation of this file.
1#ifndef THREADS_MALLOC_H
2#define THREADS_MALLOC_H
3
4#include <debug.h>
5#include <stddef.h>
6
7void malloc_init (void);
8void *malloc (size_t) __attribute__ ((malloc));
9void *calloc (size_t, size_t) __attribute__ ((malloc));
10void *realloc (void *, size_t);
11void free (void *);
12
13#endif /* threads/malloc.h */
__attribute__((always_inline)) static __inline void lcr3(uint64_t val)
Definition: intrinsic.h:9
void * malloc(size_t) __attribute__((malloc))
Definition: malloc.c:85
void malloc_init(void)
Definition: malloc.c:69
void * realloc(void *, size_t)
Definition: malloc.c:183
void * calloc(size_t, size_t) __attribute__((malloc))
Definition: malloc.c:149
void free(void *)
Definition: malloc.c:202