代码搜索:Torvalds
找到约 10,000 项符合「Torvalds」的源代码
代码结果 10,000
www.eeworm.com/read/275970/10780361
credits
The primary authors of strace are:
Paul Kranenburg
Branko Lankester
Rick Sladkey
Thanks to the follow people for contributing to strace
www.eeworm.com/read/273025/10931058
c dup.c
/*
* linux/lib/dup.c
*
* (C) 1991 Linus Torvalds
*/
#define __LIBRARY__
#include
_syscall1(int,dup,int,fd)
www.eeworm.com/read/273025/10931060
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/273025/10931062
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/273025/10931064
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/273025/10931066
c close.c
/*
* linux/lib/close.c
*
* (C) 1991 Linus Torvalds
*/
#define __LIBRARY__
#include
_syscall1(int,close,int,fd)
www.eeworm.com/read/273025/10931072
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/273025/10931074
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/469281/6980017
c ctype.c
/*
* linux/lib/ctype.c
*
479
* (C) 1991 Linus Torvalds
*/
#include // 字符类型头文件。定义了一些有关字符类型判断和转换的宏。
char _ctmp; // 一个临时字符变量,供ctype.h 文件中转换字符宏函数使用。
// 字符特性数组(表),定义了各个字符对应的属性,这些属性类型(如_C 等)在
www.eeworm.com/read/469281/6980023
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