strchr(9F)
NAME
strchr − find a character in a string
SYNOPSIS
#include <sys/ddi.h>
#include <sys/sunddi.h>
char ∗strchr(const char ∗str, int chr);
INTERFACE LEVEL
SPARC architecture specific (SPARC DDI).
ARGUMENTS
str Pointer to a string to be searched.
chr The character to search for.
DESCRIPTION
strchr() returns a pointer to the first occurrence of chr in the string pointed to by str.
RETURN VALUES
strchr() returns a pointer to a character, or NULL, if the search fails.
CONTEXT
This function can be called from user or interrupt context.
SEE ALSO
SunOS 5.3 Writing Device Drivers
Sun Microsystems — Last change: 27 Mar 1992