
MIT 6.S081 Lab
麻省理工的OS课程,要求编码调试能力强悍,后续我会不上的剩余的lab
lincs_
分布式系统、区块链、机器学习
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
MIT 6.S081 Lab: Xv6 and Unix utilities
sleep.c 1 #include "kernel/types.h" 2 #include "kernel/stat.h" 3 #include "user/user.h" 4 5 int 6 main(int argc, char *argv[]) 7 { 8 9 if (argc <= 1) { 10 fprintf(2, "usage: sleep <ticks> \n"); 11 exit(1);.原创 2020-11-04 22:58:55 · 1308 阅读 · 0 评论 -
MIT 6.S081 Lab: system calls
user.h struct stat; struct rtcdate; // system calls int fork(void); int exit(int) __attribute__((noreturn)); int wait(int*); int pipe(int*); int write(int, const void*, int); int read(int, void*, int); int close(int); int kill(int); int exec(char*, char.原创 2020-11-21 16:01:52 · 993 阅读 · 9 评论