Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
X
xv6-public
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
问题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
银宸时代
OS Lab Group
奖励实验
xv6-public
提交
c5573403
提交
c5573403
2月 20, 2012
创建
作者:
Nickolai Zeldovich
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
no need for extern C in most cases
上级
fa3bb2ed
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
0 行增加
和
10 行删除
+0
-10
kill.cc
attic/kill.cc
+0
-2
rm.cc
attic/rm.cc
+0
-2
ftest.cc
bin/ftest.cc
+0
-2
halt.cc
bin/halt.cc
+0
-2
stream.cc
lib/stream.cc
+0
-2
没有找到文件。
attic/kill.cc
浏览文件 @
c5573403
extern
"C"
{
#include "types.h"
#include "types.h"
#include "stat.h"
#include "stat.h"
#include "user.h"
#include "user.h"
}
int
int
main
(
int
argc
,
char
**
argv
)
main
(
int
argc
,
char
**
argv
)
...
...
attic/rm.cc
浏览文件 @
c5573403
extern
"C"
{
#include "types.h"
#include "types.h"
#include "stat.h"
#include "stat.h"
#include "user.h"
#include "user.h"
}
int
int
main
(
int
argc
,
char
*
argv
[])
main
(
int
argc
,
char
*
argv
[])
...
...
bin/ftest.cc
浏览文件 @
c5573403
...
@@ -5,9 +5,7 @@
...
@@ -5,9 +5,7 @@
#include "lib.h"
#include "lib.h"
#include "amd64.h"
#include "amd64.h"
#include "ipc.hh"
#include "ipc.hh"
extern
"C"
{
#include "stream.h"
#include "stream.h"
}
#define FSIZE (64 << 10)
#define FSIZE (64 << 10)
#define BSIZE 4096
#define BSIZE 4096
...
...
bin/halt.cc
浏览文件 @
c5573403
extern
"C"
{
#include "types.h"
#include "types.h"
#include "user.h"
#include "user.h"
}
int
int
main
(
int
argc
,
char
*
argv
[])
main
(
int
argc
,
char
*
argv
[])
...
...
lib/stream.cc
浏览文件 @
c5573403
extern
"C"
{
#include "types.h"
#include "types.h"
#include "stat.h"
#include "stat.h"
#include "user.h"
#include "user.h"
#include "stream.h"
#include "stream.h"
#include "lib.h"
#include "lib.h"
#include "amd64.h"
#include "amd64.h"
}
#include "ipc.hh"
#include "ipc.hh"
static
const
size_t
pstride
=
4096
*
4
;
static
const
size_t
pstride
=
4096
*
4
;
...
...
编写
预览
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论