📄 strlen.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"unsigned long strlen (const char *str){ char *p = (char *) str; while (*p) p++; return p - str;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -