This function returns the address of the first occurrence of a given character in a null-terminated string. The terminating null character is considered to be part of the string. Compare with strrchr, which returns the address of the last occurrence of a given character in a null-terminated string.