home *** CD-ROM | disk | FTP | other *** search
-
- STRDUP(3) UNIX Programmer's Manual STRDUP(3)
-
- NNAAMMEE
- ssttrrdduupp - save a copy of a string
-
- SSYYNNOOPPSSIISS
- ##iinncclluuddee <<ssttrriinngg..hh>>
-
- _c_h_a_r _*
- ssttrrdduupp(_c_o_n_s_t _c_h_a_r _*_s_t_r)
-
- DDEESSCCRRIIPPTTIIOONN
- The ssttrrdduupp() function allocates sufficient memory for a copy of the
- string _s_t_r, does the copy, and returns a pointer to it. The pointer may
- subsequently be used as an argument to the function free(3).
-
- SSEEEE AALLSSOO
- calloc(3) malloc(3) realloc(3) free(3)
-
- HHIISSTTOORRYY
- The ssttrrdduupp() function currently under development.
-
- BSD Experimental April 19, 1991 1
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-