Kanzi 3.9.10
kzs_memory.hpp File Reference

System memory manager. More...

#include <kanzi/core/legacy/kzs_types.hpp>
#include <kanzi/core/core_api.hpp>
#include <stddef.h>
#include <stdlib.h>
#include <string.h>

Typedefs

typedef size_t kzSizeT
 Memory allocation size type.
 

Functions

void kzsFree (void *pointer)
 System level free.
 
void * kzsMalloc (kzSizeT size)
 System level malloc.
 
KZ_INLINE void kzsMemcpy (void *destinationPointer, const void *sourcePointer, kzSizeT size)
 System level memcpy.
 
KZ_INLINE void kzsMemmove (void *destinationPointer, const void *sourcePointer, kzSizeT size)
 System level memmove.
 
KZ_INLINE void kzsMemset (void *pointer, kzInt valueToSet, kzSizeT size)
 System level memset.
 
void * kzsRealloc (void *pointer, kzSizeT newSize)
 System level malloc.
 

Detailed Description

System memory manager.

Copyright 2008-2017 by Rightware. All rights reserved.

Typedef Documentation

◆ kzSizeT

typedef size_t kzSizeT

Memory allocation size type.

Function Documentation

◆ kzsMalloc()

void * kzsMalloc ( kzSizeT size)

System level malloc.

◆ kzsRealloc()

void * kzsRealloc ( void * pointer,
kzSizeT newSize )

System level malloc.

◆ kzsFree()

void kzsFree ( void * pointer)

System level free.

◆ kzsMemcpy()

KZ_INLINE void kzsMemcpy ( void * destinationPointer,
const void * sourcePointer,
kzSizeT size )

System level memcpy.

◆ kzsMemmove()

KZ_INLINE void kzsMemmove ( void * destinationPointer,
const void * sourcePointer,
kzSizeT size )

System level memmove.

◆ kzsMemset()

KZ_INLINE void kzsMemset ( void * pointer,
kzInt valueToSet,
kzSizeT size )

System level memset.