词条 | wcsrchr |
释义 | 函数意义Scan a string for the last occurrence of a character. 从一个字符串中寻找某个字符最后出现的位置。 函数声明: char *strrchr( const char *string, int c ); wchar *wcsrchr( const wchar_t *string, int c ); string Null-terminated string to search. 目的字符串 c Character to be located. 要寻找的字符 返回值Each of these functions returns a pointer to the last occurrence of c in string, or NULL if c is not found. 当存在此字符时返回指向此字符的指针,当不存在时返回NULL。 |
随便看 |
百科全书收录4421916条中文百科知识,基本涵盖了大多数领域的百科知识,是一部内容开放、自由的电子版百科全书。