2 Copyright © 1995-2012, The AROS Development Team. All rights reserved.
5 C99 function strpbrk().
8 /*****************************************************************************
20 Locate the first occurrence of any character in accept in str.
23 str - Search this string
24 accept - Look for these characters
27 A pointer to the first occurence of any character in accept in str
28 or NULL if no character of accept is not found in str.
35 strcpy (buffer, "Hello ");
37 // This returns a pointer to the first l in buffer.
38 strpbrk (buffer, "lo");
41 strpbrk (buffer, "xyz");
50 ******************************************************************************/
54 if (strchr (accept
, *str
))