[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]


_strdup

Creates a duplicate string in memory.

Compatibility:

This function is compatible with the following targets:

ANSI

BeOS

EMB/RTOS
Mac OS

Palm OS

Win32


Prototype:
#include <extras.h>
char *_strdup(const char *str);
Parameters:

Parameters for this function are:

str  
const char *  
The string to be copied  

Return:

A pointer to the storage location or NULL if unsuccessful.

See Also:

"memcpy"


[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]

Visit the Metrowerks website at: http://www.metrowerks.com
For assistance contact Metrowerks Technical Support at: cw_support@metrowerks.com
Copyright © 2000, Metrowerks Corp. All rights reserved.

Last updated: August 16, 2000