Teonet library  0.4.7
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
teo_memory.c File Reference
#include <sys/types.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <strings.h>

Macros

#define _POSIX_C_SOURCE   200809L
 

Functions

void * teo_malloc (size_t size)
 
void * teo_calloc (size_t size)
 
char * teo_strdup (const char *str)
 
char * teo_strndup (char *str, size_t len)
 
void * teo_realloc (void *ptr, size_t size)
 

Macro Definition Documentation

#define _POSIX_C_SOURCE   200809L

Function Documentation

void* teo_calloc ( size_t  size)

References teo_malloc().

Referenced by ksnSplitCombine().

void* teo_realloc ( void *  ptr,
size_t  size 
)
char* teo_strdup ( const char *  str)

Referenced by ksnCoreInit().

char* teo_strndup ( char *  str,
size_t  len 
)

References malloc().