⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 strrchr.c

📁 speech signal process tools
💻 C
字号:
/* * strrchr - find last occurrence of a character in a string *//* * This routine was donated to the public domain by Henry Spencer, * with the specific notice that it could be used by anyone, on any * machine for any purpose. **/#ifndef lint	char *sccs_id = "@(#)strrchr.c	1.2 2/11/88 PD";#endif#define	NULL	0char *				/* found char, or NULL if none */strrchr(s, charwanted)char *s;char charwanted;{	char *scan;	char *place;	place = NULL;	for (scan = s; *scan != '\0'; scan++)		if (*scan == charwanted)			place = scan;	if (charwanted == '\0')		return(scan);	return(place);}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -