sketchbook
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
mm_malloc.h File Reference
#include <stdlib.h>

Go to the source code of this file.

Functions

int posix_memalign (void **__memptr, size_t __alignment, size_t __size)
 
 if (posix_memalign(&__mallocedMemory, __align, __size)) return 0
 

Variables

static __inline__ void size_t __align
 
void * __mallocedMemory
 

Function Documentation

if ( posix_memalign &,,  __size)
int posix_memalign ( void **  __memptr,
size_t  __alignment,
size_t  __size 
)

Variable Documentation

__inline__ void size_t __align
Initial value:
{
if (__align == 1) {
return malloc(__size);
}
if (!(__align & (__align - 1)) && __align < sizeof(void *))
__align = sizeof(void *)
static __inline__ void size_t __align
Definition: mm_malloc.h:47
return __mallocedMemory