1.\" Copyright (c) 1990, 1991 The Regents of the University of California. 2.\" All rights reserved. 3.\" 4.\" This code is derived from software contributed to Berkeley by 5.\" Chris Torek. 6.\" %sccs.include.redist.man% 7.\" 8.\" @(#)strpbrk.3 5.3 (Berkeley) 04/19/91 9.\" 10.Dd 11.Dt STRPBRK 3 12.Os 13.Sh NAME 14.Nm strpbrk 15.Nd locate multiple characters in string 16.Sh SYNOPSIS 17.Fd #include <string.h> 18.Ft char * 19.Fn strpbrk "const char *s" "const char *charset" 20.Sh DESCRIPTION 21The 22.Fn strpbrk 23function 24locates in the null-terminated string 25.Fa s 26the first occurrence of any character in the string 27.Fa charset 28and returns a pointer to this character. 29If no characters from 30.Fa charset 31occur anywhere in 32.Fa s 33.Fn strpbrk 34returns NULL. 35.Sh SEE ALSO 36.Xr index 3 , 37.Xr memchr 3 , 38.Xr rindex 3 , 39.Xr strchr 3 , 40.Xr strcspn 3 , 41.Xr strrchr 3 , 42.Xr strsep 3 , 43.Xr strspn 3 , 44.Xr strstr 3 , 45.Xr strtok 3 46.Sh STANDARDS 47The 48.Fn strpbrk 49function 50conforms to 51.St -ansiC . 52