Go to the first, previous, next, last section, table of contents.


strpbrk

Syntax

#include <string.h>

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

Description

This function finds the first character in s1 that matches any character in set.

Return Value

A pointer to the first match, or NULL if none are found.

Portability

ANSI, POSIX

Example

if (strpbrk(command, "<>|"))
  do_redirection();


Go to the first, previous, next, last section, table of contents.