SYNOPSIS
#include <string.h>
char *strdup(const char *s1);
char *strndup(const char *s1, size_t size);
DESCRIPTION
The
The
PARAMETERS
- s1
-
Is a null-terminated string to duplicate.
- size
-
Copy at most size characters. The resulting string will be NUL perminated.
RETURN VALUES
On success,
CONFORMANCE
MULTITHREAD SAFETY LEVEL
MT-Safe.
PORTING ISSUES
None.
AVAILABILITY
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
SEE ALSO
PTC MKS Toolkit 10.5 Documentation Build 40.