home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / man / lib.fmt / c / stringArray.man < prev    next >
Encoding:
Text File  |  1991-05-31  |  1.4 KB  |  69 lines

  1.  
  2.  
  3.  
  4. String                C Library Procedures                 String
  5.  
  6.  
  7.  
  8. _________________________________________________________________
  9.  
  10. NNAAMMEE
  11.      String_SaveArray, String_FreeArray - copy and destroy  null-
  12.      terminated string array
  13.  
  14. SSYYNNOOPPSSIISS
  15.      ##iinncclluuddee <<sspprriitteeSSttrriinngg..hh>>
  16.  
  17.      char **
  18.      SSttrriinngg__SSaavveeAArrrraayy(_s_t_r_i_n_g_s_P_t_r)
  19.  
  20.      char **
  21.      SSttrriinngg__FFrreeeeAArrrraayy(_s_t_r_i_n_g_s_P_t_r)
  22.  
  23. AARRGGUUMMEENNTTSS
  24.      char   **_s_t_r_i_n_g_s_P_t_r   (in)      Pointer to a null-terminated
  25.                                      array of string pointers.
  26.  
  27. _________________________________________________________________
  28.  
  29.  
  30. DDEESSCCRRIIPPTTIIOONN
  31.      These routines create and destroy null-terminated arrays  of
  32.      strings.   They  are  useful  for  making copies of the aarrggvv
  33.      argument array or of a host  alias  list.   SSttrriinngg__SSaavveeAArrrraayy
  34.      creates  new  copies  of  the  strings  and  of the array of
  35.      pointers.  SSttrriinngg__FFrreeeeAArrrraayy frees the strings and the array.
  36.      It  returns  a  nil  pointer that can be used to nil out the
  37.      given _s_t_r_i_n_g_s_P_t_r.
  38.  
  39.  
  40. KKEEYYWWOORRDDSS
  41.      string, copy
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65. Sprite v.1.0         Printed:  May 31, 1991                     1
  66.  
  67.  
  68.  
  69.