代码搜索:Torvalds
找到约 10,000 项符合「Torvalds」的源代码
代码结果 10,000
www.eeworm.com/read/209081/15227471
c ctype.c
/*
* linux/lib/ctype.c
*
479
* (C) 1991 Linus Torvalds
*/
#include // 字符类型头文件。定义了一些有关字符类型判断和转换的宏。
char _ctmp; // 一个临时字符变量,供ctype.h 文件中转换字符宏函数使用。
// 字符特性数组(表),定义了各个字符对应的属性,这些属性类型(如_C 等)在
www.eeworm.com/read/209081/15227477
c string.c
/*
* linux/lib/string.c
*
* (C) 1991 Linus Torvalds
*/
#ifndef __GNUC__ // 需要GNU 的C 编译器编译。
#error I want gcc!
#endif
#define extern
#define inline
#define __LIBRARY__
#include
www.eeworm.com/read/207820/15261379
c dup.c
/*
* linux/lib/dup.c
*
* (C) 1991 Linus Torvalds
*/
#define __LIBRARY__
#include
_syscall1(int,dup,int,fd)
www.eeworm.com/read/207820/15261380
c write.c
/*
* linux/lib/write.c
*
* (C) 1991 Linus Torvalds
*/
#define __LIBRARY__
#include
_syscall3(int,write,int,fd,const char *,buf,off_t,count)
www.eeworm.com/read/207820/15261381
c ctype.c
/*
* linux/lib/ctype.c
*
* (C) 1991 Linus Torvalds
*/
#include
char _ctmp;
unsigned char _ctype[] = {0x00, /* EOF */
_C,_C,_C,_C,_C,_C,_C,_C, /* 0-7 */
_C,_C|_S,_C|_S,_C|_S,_C|_
www.eeworm.com/read/207820/15261382
c open.c
/*
* linux/lib/open.c
*
* (C) 1991 Linus Torvalds
*/
#define __LIBRARY__
#include
#include
int open(const char * filename, int flag, ...)
{
register int res;
va_list a
www.eeworm.com/read/207820/15261383
c close.c
/*
* linux/lib/close.c
*
* (C) 1991 Linus Torvalds
*/
#define __LIBRARY__
#include
_syscall1(int,close,int,fd)
www.eeworm.com/read/207820/15261387
c string.c
/*
* linux/lib/string.c
*
* (C) 1991 Linus Torvalds
*/
#ifndef __GNUC__
#error I want gcc!
#endif
#define extern
#define inline
#define __LIBRARY__
#include
www.eeworm.com/read/207820/15261388
c execve.c
/*
* linux/lib/execve.c
*
* (C) 1991 Linus Torvalds
*/
#define __LIBRARY__
#include
_syscall3(int,execve,const char *,file,char **,argv,char **,envp)
www.eeworm.com/read/473341/6851341
c dup.c
/*
* linux/lib/dup.c
*
* (C) 1991 Linus Torvalds
*/
#define __LIBRARY__
#include
_syscall1(int,dup,int,fd)