?? strchr.c
字號:
/* this code is an extract of several string functions from the string.c * file found in the uClibc distribution. The original author copyright: *//* Copyright (C) 1995,1996 Robert de Bath <rdebath@cix.compulink.co.uk> * This file is part of the Linux-8086 C library and is distributed * under the GNU Library General Public License. */#include "baselib.h"char *strchr (const char *s, int c){ char ch; for (;;) { if ((ch = *s) == c) return (char *) s; if (ch == 0) return 0; s++; }}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -