shithub: scc

ref: b2537502d9aa8a69d9b4c2dfa1fd1c57116bba3e
dir: /doc/man3/strpbrk.3/

View raw version
.TH strpbrk 3
.SH NAME
strpbrk - scan a string for a byte
.SH SYNOPSIS
#include <string.h>

char *strpbrk(const char *s1, const char *s2)
.SH DESCRIPTION
The
.BR strpbrk ()
function locates the first occurence
in the string pointed to by
.I s1
of any character from
the string pointed to by
.IR s2 .
.SH RETURN VALUE
The
.BR strpbrk ()
function shall return a pointer to the character in
.I s1
or a null pointer if
.I s2
does not occur in
.IR s1 .
.SH STANDARDS
ISO/IEC 9899:1999 Section 7.21.5.4