代码搜索:Torvalds
找到约 10,000 项符合「Torvalds」的源代码
代码结果 10,000
www.eeworm.com/read/379711/9181318
c errno.c
/*
* linux/lib/errno.c
*
* Copyright (C) 1991, 1992 Linus Torvalds
*/
int errno;
www.eeworm.com/read/181669/9241708
c dup.c
/*
* linux/lib/dup.c
*
* (C) 1991 Linus Torvalds
*/
#define __LIBRARY__
#include
_syscall1(int,dup,int,fd)
www.eeworm.com/read/181669/9241710
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/181669/9241712
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/181669/9241714
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/181669/9241717
c close.c
/*
* linux/lib/close.c
*
* (C) 1991 Linus Torvalds
*/
#define __LIBRARY__
#include
_syscall1(int,close,int,fd)
www.eeworm.com/read/181669/9241725
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/181669/9241727
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/365428/9863645
c ctype.c
/*
* linux/lib/ctype.c
*
479
* (C) 1991 Linus Torvalds
*/
#include // 字符类型头文件。定义了一些有关字符类型判断和转换的宏。
char _ctmp; // 一个临时字符变量,供ctype.h 文件中转换字符宏函数使用。
// 字符特性数组(表),定义了各个字符对应的属性,这些属性类型(如_C 等)在
www.eeworm.com/read/365428/9863656
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