SilverScreen Solid Modeler

strpbrk

strpbrk

Previous topic Next topic  

strpbrk

Previous topic Next topic JavaScript is required for the print function  

StandardCLibrary

 

char *strpbrk( char *s1, char *s2 )

 

char *s1;       /* a string */

char *s2;       /* character set string */

 

 




Synopsis

#include "string.h"

 

The strpbrk function finds the first occurrence in string s1 of any character in string s2 .

 

 

Parameters

s1 and s2 are null-terminated strings.

 

 

Return Value

strpbrk returns a pointer to the first occurrence in string s1 of any character in string s2 if any exists, and NULL otherwise.

 

 

See Also

strspn , strcspn