en

strdup.3


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.

Tags:
Created by admin on 2009/10/26 12:14
Last modified by admin on 2009/10/26 12:14

Collectives

Project ksh93-integration Pages


XWiki Enterprise 2.7.1.34853 - Documentation