(C) 1998 AROS - The Amiga Research OS


NAME
#include <string.h>
#include <memory.h>

char * strdup ()

SYNOPSIS
const char * orig

FUNCTION
Create a copy of a string. The copy can be freed with free() or will be freed when then program ends.

INPUTS
str1 - Strings to duplicate

RESULT
A copy of the string which can be freed with free().

EXAMPLE

SEE ALSO

NOTES

BUGS

INTERNALS

HISTORY
20.10.1998 hkiel
Amiga Research OS
10.12.1996 aros
Moved #include into first column to allow makedepend to see it.
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
21.09.1996 digulla
Duplicate strings