?? file.h
字號(hào):
#ifndef __LINUX_FILE_H
#define __LINUX_FILE_H
extern inline struct file * fget(unsigned long fd)
{
struct file * file = NULL;
if (fd < NR_OPEN) {
file = current->files->fd[fd];
if (file)
file->f_count++;
}
return file;
}
extern void __fput(struct file *, struct inode *);
extern inline void fput(struct file *file, struct inode *inode)
{
int count = file->f_count-1;
if (!count)
__fput(file, inode);
file->f_count = count;
}
#endif
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -