ssttrrdduupp() -- String Function (libc)

Duplicate a string
#iinncclluuddee <ssttrriinngg.hh>
cchhaarr *ssttrrdduupp(_s_t_r_i_n_g)
cchhaarr *_s_t_r_i_n_g;

The string  function ssttrrdduupp() duplicates  the text to  which _s_t_r_i_n_g points.
It calls mmaalllloocc() to allocate  memory for the duplicate, copies the string,
and returns a pointer to the memory that holds the copy.  If something goes
wrong, it returns NULL.

_S_e_e _A_l_s_o
lliibbcc, ssttrriinngg.hh

_N_o_t_e_s
ssttrrdduupp() is not  part of the ANSI Standard.  Using  it in your programs may
limit their portability.
