strpbrk(3)

strpbrk3

Locate multiple characters in string

Usage

#include <string.h>

char *

strpbrk(const char *s, const char *charset);

Library

Standard C Library (libc, -lc)

Overview

The strpbrk() function locates in the null-terminated string s the first occurrence of any character in the string charset and returns a pointer to this character. If no characters from charset occur anywhere in s strpbrk() returns NULL.

Releases

163 releases since Mac OS X 10.0; the text changed 4 times.

  1. 10.0–10.1.5
  2. 10.2–10.4.11
  3. 10.5–10.6.8
  4. 10.7–10.11.6
  5. 10.12–26.5

Standards

The strpbrk() function conforms to ISO/IEC 9899:1990 (“ISO C90”).

From Libc 1752.120.2 in macOS 26.5. Parsed by carta from the page's mdoc source.