The Single UNIX ® Specification, Version 2
Copyright © 1997 The Open Group

 NAME

strpbrk - scan string for byte

 SYNOPSIS



#include <string.h>

char *strpbrk(const char *s1, const char *s2);

 DESCRIPTION

The strpbrk() function locates the first occurrence in the string pointed to by s1 of any byte from the string pointed to by s2.

 RETURN VALUE

Upon successful completion, strpbrk() returns a pointer to the byte or a null pointer if no byte from s2 occurs in s1.

 ERRORS

No errors are defined.

 EXAMPLES

None.

 APPLICATION USAGE

None.

 FUTURE DIRECTIONS

None.

 SEE ALSO

strchr(), strrchr(), <string.h>.

DERIVATION

Derived from Issue 1 of the SVID.

UNIX ® is a registered Trademark of The Open Group.
Copyright © 1997 The Open Group
[ Main Index | XSH | XCU | XBD | XCURSES | XNS ]