home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / gnu / ixemul-39.47-env-bin.lha / man / cat3 / strdup.0 < prev    next >
Text File  |  1993-12-07  |  872b  |  67 lines

  1.  
  2. STRDUP(3)                  UNIX Programmer's Manual                  STRDUP(3)
  3.  
  4. NNAAMMEE
  5.      ssttrrdduupp - save a copy of a string
  6.  
  7. SSYYNNOOPPSSIISS
  8.      ##iinncclluuddee <<ssttrriinngg..hh>>
  9.  
  10.      _c_h_a_r _*
  11.      ssttrrdduupp(_c_o_n_s_t _c_h_a_r _*_s_t_r)
  12.  
  13. DDEESSCCRRIIPPTTIIOONN
  14.      The ssttrrdduupp() function allocates sufficient memory for a copy of the
  15.      string _s_t_r, does the copy, and returns a pointer to it.  The pointer may
  16.      subsequently be used as an argument to the function free(3).
  17.  
  18. SSEEEE AALLSSOO
  19.      calloc(3) malloc(3) realloc(3) free(3)
  20.  
  21. HHIISSTTOORRYY
  22.      The ssttrrdduupp() function currently under development.
  23.  
  24. BSD Experimental                April 19, 1991                               1
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.