跳转到内容

strpbrk:在字符串中查找字符

#include <string.h>
char *strpbrk(const char *s1, const char *s2);
```### 描述
此函数定位由 s1 指向的字符串中首次出现的、由 s2 指向的字符串中的任何字符(不包括终止空字符)。### 返回值
strpbrk 返回一个指向在 s1 中找到的字符的指针,如果 s2 中的任何字符均未在 s1 中出现,则返回一个空指针。
---
**权威来源**: BUSMASTER DITA help source `strpbrk.dita`, compiled into `BUSMASTER.CHM` with the application.