(C) 1998 AROS - The Amiga Research OS


NAME
#include <sys/types.h>
#include <stdlib.h>

void * malloc ()

SYNOPSIS
size_t size

FUNCTION
Allocate size bytes of memory and return the address of the first byte.

INPUTS
size
How much memory to allocate.

RESULT
A pointer to the allocated memory or NULL. If you don't need the memory anymore, you can pass this pointer to free(). If you don't, the memory will be freed for you when the application exits.

EXAMPLE

SEE ALSO
free()

NOTES

BUGS

INTERNALS

HISTORY
20.10.1998 hkiel
Amiga Research OS
01.01.1997 ldp
Changed clib to proto
12.12.1996 aros
ANSI expects these functions in stdlib.h
10.12.1996 aros
Moved #include into first column to allow makedepend to see it.
23.10.1996 aros
Use AROS_ALIGN() to align pointers
19.10.1996 aros
Moved all ANSI C function to here and wrote all neccessary header files. Now we have a real basis for our own C lib. Added the functions malloc(), free() and strcasecmp() Made all functions ANSI C compliant