home *** CD-ROM | disk | FTP | other *** search
- STRRPBRK(3) Library Functions STRRPBRK(3)
-
-
-
- NAME
- strrpbrk - find the last occurance of a character of a set in
- a string
-
- SYNOPSIS
- #include <edlib.h>
-
- char *strrpbrk(str, charset)
- char *str, *charset;
-
- DESCRIPTION
- Strrpbrk searches backwards through the null terminated string
- 'str' for occurances of a character included in the character
- set 'charset'. The 'charset' variable is null terminated string
- that is treated as a character set. Therefore, repetition and
- order are ignored. Strrpbrk returns a pointer to the last
- character of 'charset' that is found in 'str'.
-
- DIAGNOSTICS
- If no character in 'charset' is found in 'str', then a null
- pointer (NULL) is returned.
-
- AUTHOR
- Edwin Hoogerbeets 01/08/88 modified from strpbrk(3) by:
- Daniel J. Barrett.
- barrett@cs.jhu.edu or ins_adjb@jhunix.UUCP
-
- SEE ALSO
- strpbrk(3), strcspn(3), strspn(3)
-
-
-
-