Technical Support
On-Line Manuals
C166 User's Guide
#include <string.h> char far *fstrpbrk ( const char far *string, /* string to search */ const char far *set); /* characters to find */
The fstrpbrk function searches string for the first occurrence of any character from set. The null terminator is not included in the search.
Note
The fstrpbrk function returns a pointer to the matching character in string. If string contains no characters from set, a null pointer is returned.
fstrcat, fstrchr, fstrcmp, fstrcpy, fstrcspn, fstrlen, fstrncat, fstrncmp, fstrncpy, fstrpos, fstrrchr, fstrrpbrk, fstrrpos, fstrspn
#include <string.h> #include <stdio.h> /* for printf */ void tst_strpbrk (char far *text) { char vowels [] ="AEIOUaeiou"; char far *p; p = fstrpbrk (text, vowels); if (p == NULL) printf ("No vowels found in text.\n"); }
Cookie Settings | Terms of Use | Privacy | Accessibility | Trademarks | Contact Us | Feedback
Copyright © 2005-2019 Arm Limited (or its affiliates). All rights reserved.
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.
Change Settings
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers of your data.