| Solaris |
|
|
Introduction to Library Functions STRDUP(3)
NAME
strdup - duplicate nul-terminated string
SYNOPSIS
char* strdup(char* s)
DESCRIPTION
strdup copies the nul-terminated string s to a new location
provided by malloc(3) and returns a pointer to the new copy.
0 is returned if malloc(3) failed.
SEE ALSO
malloc(3), memdup(3)
SunOS 5.10 Last change: 1
Generated by GNU enscript 1.6.4.
Terms of Use
|
Privacy
|
Trademarks
|
Copyright Policy
|
Site Guidelines
|
Site Map
|
Help
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Use.
© 2012, Oracle Corporation and/or its affiliates.