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 - HTML - text area
filename:programming:c:function strchr
filename:programming%3Ac%3Afunction%20strchr
last edit:April 05 2009 22:00:02 (-1841256 minutes ago)
ct = 1128507834.000000 = October 05 2005 06:23:54
ft = 1238983202.000000 = April 05 2009 22:00:02
dt = -110475368.000000