programming - C - function strchrWhat links here?
Locate first occurrence of character in string

Returns a pointer to the first occurrence of character in the C string str.

The terminating null-character is considered part of the C string. Therefore, it can also be located.

Syntax

char *strchr(char *str, int character)


Parameters



Return Value

A pointer to the first occurrence of character in str.
If the value is not found, the function returns a null pointer.
programming - C - function strchr
programming - C - function iscntrl
programming - C - function strtok
programming - C - function strpos
programming - C - function strrev
programming - C - function isalpha
programming - C - function isspace
programming - C - function strcat
programming - C - format string flags
programming - C - function strncpy
programming - C - function strcpy
programming - C - function isgraph
programming - C - function substr
programming - C - function memset
programming - C - function isupper
programming - C - function _makepath
filename:programming - C - function strchr
filename:programming%20%2D%20C%20%2D%20function%20strchr
last edit:April 06 2009 02:00:02 (6441 days ago)
ct = 1795523246.000000 = November 24 2026 12:27:26
ft = 1238983202.000000 = April 06 2009 02:00:02
dt = 556540044.000000