home *** CD-ROM | disk | FTP | other *** search
/ The Fred Fish Collection 1.5 / ffcollection-1-5-1992-11.iso / ff_progs / prog_c / edlib.lzh / EDLIB / MAN / STRRPOS < prev    next >
Encoding:
Text File  |  1991-08-16  |  772 b   |  35 lines

  1. STRRPOS(3)                 Library Functions                STRRPOS(3)
  2.  
  3.  
  4.  
  5. NAME
  6.      strrpos - give the last position of a character withing a string
  7.  
  8. SYNOPSIS
  9.      #include <edlib.h>
  10.  
  11.      int strrpos(string,key)
  12.      char *string;
  13.      char key;
  14.  
  15. DESCRIPTION
  16.      Strpos searches the null terminated string 'string' for the
  17.      last occurance of the character 'key'. The position of this
  18.      character is returned. The terminating null character is
  19.      considered to be part of the string for the purposes of this
  20.      search. Thus, using strrpos to find the null will give the
  21.      same result as a strlen(3).
  22.  
  23. DIAGNOSTICS
  24.      Strrpos returns a -1 if the character is not found in the
  25.      string.
  26.  
  27. AUTHOR
  28.      Edwin Hoogerbeets 01/08/88
  29.  
  30. SEE ALSO
  31.      strpos(3)
  32.  
  33.  
  34.  
  35.