1 .\" Copyright 1993 David Metcalfe (david@prism.demon.co.uk)
3 .\" SPDX-License-Identifier: Linux-man-pages-copyleft
5 .\" References consulted:
6 .\" Linux libc source code
7 .\" Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991)
9 .\" Modified Sat Jul 24 18:01:24 1993 by Rik Faith (faith@cs.unc.edu)
10 .TH STRPBRK 3 2021-03-22 "Linux man-pages (unreleased)" "Linux Programmer's Manual"
12 strpbrk \- search a string for any of a set of bytes
15 .RI ( libc ", " \-lc )
18 .B #include <string.h>
20 .BI "char *strpbrk(const char *" s ", const char *" accept );
25 function locates the first occurrence in the
28 of any of the bytes in the string
33 function returns a pointer to the byte in
35 that matches one of the bytes in
38 if no such byte is found.
40 For an explanation of the terms used in this section, see
48 Interface Attribute Value
51 T} Thread safety MT-Safe
57 POSIX.1-2001, POSIX.1-2008, C89, C99, SVr4, 4.3BSD.