malloc.c File Reference

Implements the functions: malloc.c. More...

#include <stddef.h>
#include <memory.h>

Include dependency graph for malloc.c:

Go to the source code of this file.

Functions

void * malloc (ulong nbytes)
 Request heap storage, record accounting information, returning pointer to assigned memory region.


Detailed Description

Implements the functions: malloc.c.

Id
malloc.c 1485 2008-08-15 19:44:02Z brylow

Definition in file malloc.c.


Function Documentation

void* malloc ( ulong  nbytes  ) 

Request heap storage, record accounting information, returning pointer to assigned memory region.

Parameters:
nbytes number of bytes requested
Returns:
pointer to region on success, SYSERR on failure

Definition at line 18 of file malloc.c.

References memget(), NULL, and SYSERR.

Here is the call graph for this function:


Generated on Wed Aug 27 06:08:50 2008 for Embedded XINU by  doxygen 1.5.5