Strpbrk - Analog Devices VISUALDSP++ 3.5 Manual

C/c++ compiler and library for adsp-219x processors
Hide thumbs Also See for VISUALDSP++ 3.5:
Table of Contents

Advertisement

C Run-Time Library Reference

strpbrk

find character match in two strings
Synopsis
#include <string.h>
char *strpbrk(const char *s1, const char *s2);
Description
The
function returns a pointer to the first character in
strpbrk
also found in
s2
ters. The order of the characters in the string is not significant.
Error Conditions
In the event that no character in
returned.
Example
#include <string.h>
char *ptr1, *ptr2, *ptr3;
ptr1 = "TESTING";
ptr2 = "SHOP"
ptr3 = strpbrk(ptr1, ptr2);
/* ptr3 points to the S in TESTING */
See Also
strspn
3-132
. The string pointed to by
s1
VisualDSP++ 3.5 C/C++ Compiler and Library Manual
is treated as a set of charac-
s2
matches any in
, a null pointer is
s2
for ADSP-219x DSPs
that is
s1

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the VISUALDSP++ 3.5 and is the answer not in the manual?

Questions and answers

Related Products for Analog Devices VISUALDSP++ 3.5

Table of Contents