📄 xmemrchr.c
字号:
/* (C) 2003 by David Relson, redistributable according to the terms * of the GNU General Public License, v2. * * $Id: xmemrchr.c,v 1.3 2006/07/08 15:25:59 m-a Exp $ * */#include "config.h"#include <string.h>#include "xmemrchr.h"void *xmemrchr(void *v, byte b, size_t len) { byte *s = v; byte *e = s + len; byte *a = NULL; while (s < e) { if (*s == b) a = s; s += 1; } return a;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -