ncloader  0.1
 모두 데이타 구조 파일들 함수 변수 타입정의 열거형 타입 열거형 멤버 매크로 그룹들 페이지들
allocator.c 파일 참조
#include <slibc.h>
#include <sys/types.h>
#include <stdio.h>
#include <stddef.h>
#include <assert.h>
#include "allocator.h"
+ allocator.c에 대한 include 의존 그래프

데이타 구조

struct  chunk
 Chunk 자료구조 더 자세히 ...
 
struct  allocator
 Allocator handle 자료구조 더 자세히 ...
 

함수

struct allocatorallocator_init (unsigned int base, unsigned int size)
 Allocator 초기화를 한다. 더 자세히 ...
 
int allocator_fini (struct allocator *handle)
 Allocator 를 finalize 시킨다. 더 자세히 ...
 
void * allocator_alloc (struct allocator *handle, int size)
 메모리를 할당 한다. 더 자세히 ...
 
int allocator_chunk_size (void *ptr)
 할당된 메모리가 가진 크기를 얻는다. 더 자세히 ...
 
void allocator_free (struct allocator *handle, void *ptr)
 할당한 메모리를 해제한다. 더 자세히 ...