Update contrib.
2 * Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of "Eclipse Public License v1.0"
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
16 * <<strpbrk>>---find chars in string
21 * char *strpbrk(const char *<[s1]>, const char *<[s2]>);
24 * char *strpbrk(<[s1]>, <[s2]>)
27 * This function locates the first occurence in the string
28 * pointed to by <[s1]> of any character in string pointed to by
29 * <[s2]> (excluding the terminating null character).
31 * <<strpbrk>> returns a pointer to the character found in <[s1]>, or a
32 * null pointer if no character from <[s2]> occurs in <[s1]>.
34 * <<strpbrk>> requires no supporting OS subroutines.
44 Scan string for specified characters.
45 Scans string1 character by character, returning a pointer to the first character
46 that matches with any of the characters in string2.
47 The search does not includes the terminating null-characters.
48 @return A pointer to the first appearance in string1 of a character specified in s2.
49 If none of the characters specified in s2 exists in s1, a NULL pointer is returned.
50 @param s1 Null-terminated string to be scanned.
51 @param s2 Null-terminated string containing the character set to search for.
54 strpbrk (const char *s1, const char *s2)