请输入您要查询的百科知识:

 

词条 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条中文百科知识,基本涵盖了大多数领域的百科知识,是一部内容开放、自由的电子版百科全书。

 

Copyright © 2004-2023 Cnenc.net All Rights Reserved
更新时间:2025/3/4 9:03:57