持久化
ostep35,36,37,38
ostep39,40,41
ostep42,43
L22 tutorial
L23 tutorial
L24 tutorial
L25 tutorial 需要再仔细阅读
L26 tutorial
L27 tutorial
L28 tutorial
M5
L3
FAT文件系统manual
BMP文件格式
M6 6.29
虚拟化
ostep3-6
ostep13-20
ostep6,7,8,9,10
ostep21-23
L12 tutorial
L13 tutorial
L14 tutorial
L15 tutorial
L16 tutorial
L17 tutorial
L18 tutorial
L2
并发
ostep25-27
ostep28
ostep29
ostep30,31
L3 tutorial
L4 tutorial
L5 tutorial
L6 tutorial
L7 tutorial
L8 tutorial
L9 tutorial
L10 tutorial
L1
Manual
1.各大API
文件系统API:pipe,dup2,open,mmap,lseek,ftrucate,mount,fflush等API
进程API:fork,execve,wait,waitpid,getpid,mmap,exit,signal,malloc,free,brk等API
互斥锁API:
2.C标准库
<stdio.h>:
reference:https://www.runoob.com/cprogramming/c-standard-library-stdio-h.html
fflush,setbuf,perror
fopen,fclose,fwrite,fopen,fseek
fprintf,printf,sprintf,fscanf,scanf,sscanf
fgetc,fgets,fputc,fputs,getc,getchar,gets,putc,putchar,puts
Knowledge
fork
https://www.cnblogs.com/bastard/archive/2012/08/31/2664896.html
注意第一个例子中的count,在fork之后,子进程几乎复制了父进程的所有内容,但有自己独立的寄存器、内存和文件系统,此时父进程和子进程同时都保存了count这个变量,由于这两个进程是相互独立的,所以两个count是各自进程独有的,所以两次打印出的都是1,而不是出现1和2。
网友评论