software/drivers/sd8887/src/wlan/mlan/mlan_cmdevt.c
/**
 *  @brief This function finds first occurrence of a char in a string
 *
 *  @param s            A pointer to the string to be searched
 *  @param c            The character to search for
 *
 *  @return             Location of the first occurrence of the char
 *                      if found, else NULL
 */
@brief This function finds first occurrence of a char in a string
@param s            A pointer to the string to be searched
@param c            The character to search for

@return             Location of the first occurrence of the char
if found, else NULL
@brief This function finds first occurrence of a char in a string @param s A pointer to the string to be searched @param c The character to search for @return Location of the first occurrence of the char if found else NULL
t_u8 *
wlan_strchr(t_u8 *s, int c)
{
	t_u8 *pos = s;
	while (*pos != '\0') {
		if (*pos == (t_u8)c)
			return pos;
		pos++;
	}
	return MNULL;
}
t_u8 * wlan_strchr ( t_u8 * s , int c ) { t_u8 * pos = s ; while ( * pos != ' \0 ' ) { if ( * pos == ( t_u8 ) c ) return pos ; pos ++ ; } return MNULL ; }
@brief This function finds first occurrence of a char in a string
  @param s            A pointer to the string to be searched
  @param c            The character to search for
@brief This function finds first occurrence of a char in a string @param s A pointer to the string to be searched @param c The character to search for