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 isalnum
linux - managing updates
O Scale Plymouth 20 Ton Locomotive
filename:programming - C - function strchr
filename:programming%20%2D%20C%20%2D%20function%20strchr
last edit:April 05 2009 22:00:02 (5799 days ago)
ct = 1740079833.000000 = February 20 2025 14:30:33
ft = 1238983202.000000 = April 05 2009 22:00:02
dt = 501096631.000000