#include <stdio.h>#include <string.h>#include <stdlib.h>#include "cmplrs/host.h"
Go to the source code of this file.
Classes | |
| struct | OVERHEAD |
| struct | bufstruct |
Defines | |
| #define | BUFSIZE ((size_t)8192) |
Typedefs | |
| typedef char | BUF [BUFSIZE-sizeof(OVERHEAD)] |
| typedef struct bufstruct | KAI_MARKED_HEAP |
Functions | |
| void | f77fatal (int32, char *) |
| char * | kai_mhalloc (size_t len) |
| string | s_cat_kai (string strings[], fsize_t lengths[], int32 count, fsize_t *result_len) |
Variables | |
| static KAI_MARKED_HEAP * | KAI_heap_stack = NULL |
| static size_t | len_used = 0 |
| size_t | _kai_mhalloc_tos_ = 0 |
| #define BUFSIZE ((size_t)8192) |
Definition at line 46 of file s_cat_kai.c.
Referenced by kai_mhalloc().
Definition at line 52 of file s_cat_kai.c.
| typedef struct bufstruct KAI_MARKED_HEAP |
| void f77fatal | ( | int32 | , | |
| char * | ||||
| ) |
| char* kai_mhalloc | ( | size_t | len | ) |
Definition at line 75 of file s_cat_kai.c.
References _kai_mhalloc_tos_, bufstruct::buffer, BUFSIZE, f77fatal(), free(), bufstruct::header, OVERHEAD::len_so_far, len_used, OVERHEAD::next, and result.
Referenced by s_cat_kai().

Definition at line 128 of file s_cat_kai.c.
References kai_mhalloc(), len, and result.

Definition at line 64 of file s_cat_kai.c.
Referenced by kai_mhalloc().
KAI_MARKED_HEAP* KAI_heap_stack = NULL [static] |
Definition at line 61 of file s_cat_kai.c.
Definition at line 62 of file s_cat_kai.c.
Referenced by kai_mhalloc().
1.7.1