Function (Path Standard C Header / string.h)

strchr

char* strchr(char *s, int c);

Searches the string pointed to by the argument str for the first occurrence of the character c (an unsigned character)


Parameters

  char *s
  int c
    Given char

函数 (属于 标准C头文件 / string.h)

strchr

char* strchr(char *s, int c);

在参数 str 所指向的字符串中搜索第一次出现字符 c(一个无符号字符)的位置


参数

  char *s
  int c
    给定字符