OAR

RTEMS GNU Tools On-Line Library


strpbrk

PREV UP NEXT Bookshelf

4.25: strpbrk---find chars in string

Synopsis

#include <string.h>
char *strpbrk(const char *s1, const char *s2);

Description
This function locates the first occurence in the string pointed to by s1 of any character in string pointed to by s2 (excluding the terminating null character).


Returns
strpbrk returns a pointer to the character found in s1, or a null pointer if no character from s2 occurs in s1.


Portability
strpbrk requires no supporting OS subroutines.



PREV UP NEXT Bookshelf

Packaging copyright © 1988-2000 OAR Corporation
Context copyright by each document's author. See Free Software Foundation for information.