1STRPBRK(P)                 POSIX Programmer's Manual                STRPBRK(P)
2
3
4

NAME

6       strpbrk - scan a string for a byte
7

SYNOPSIS

9       #include <string.h>
10
11       char *strpbrk(const char *s1, const char *s2);
12
13

DESCRIPTION

15       The  strpbrk() function shall locate the first occurrence in the string
16       pointed to by s1 of any byte from the string pointed to by s2.
17

RETURN VALUE

19       Upon successful completion, strpbrk() shall return  a  pointer  to  the
20       byte or a null pointer if no byte from s2 occurs in s1.
21

ERRORS

23       No errors are defined.
24
25       The following sections are informative.
26

EXAMPLES

28       None.
29

APPLICATION USAGE

31       None.
32

RATIONALE

34       None.
35

FUTURE DIRECTIONS

37       None.
38

SEE ALSO

40       strchr()    ,    strrchr()   ,   the   Base   Definitions   volume   of
41       IEEE Std 1003.1-2001, <string.h>
42
44       Portions of this text are reprinted and reproduced in  electronic  form
45       from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology
46       -- Portable Operating System Interface (POSIX),  The  Open  Group  Base
47       Specifications  Issue  6,  Copyright  (C) 2001-2003 by the Institute of
48       Electrical and Electronics Engineers, Inc and The Open  Group.  In  the
49       event of any discrepancy between this version and the original IEEE and
50       The Open Group Standard, the original IEEE and The Open Group  Standard
51       is  the  referee document. The original Standard can be obtained online
52       at http://www.opengroup.org/unix/online.html .
53
54
55
56IEEE/The Open Group                  2003                           STRPBRK(P)
Impressum