?? close.c
字號:
#include <stdio.h>
#include "filesys.h"
close(user_id,cfd) /*close*/
unsigned int user_id;
unsigned short cfd;
{
struct inode *inode;
inode=sys_ofile[user[user_id].u_ofile[cfd]].f_inode;
iput(inode);
sys_ofile[user[user_id].u_ofile[cfd]].f_count --;
user[user_id].u_ofile[cfd]=SYSOPENFILE+1;
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -