STRDUP C-3





Copyright (C) 1994-95 Conetic Software Systems, Inc. All names, products, and services mentioned are the trademarks of their respective organizations.



NAME


strdup - return duplicate copy of string

SYNOPSIS


char *strdup (string)
char *string;
char *set;

DESCRIPTION


Strdup returns a pointer to a duplicate copy of the string
pointed to by string. Strdup allocates space for the copy with
malloc(3).

DIAGNOSTICS

Strdup returns NULL if it cannot allocate space for a copy of
string.

NOTES


Strdup is present only on systems that do not already have it in
their standard C library.