📄 inode.h
字号:
/* inode.h */
#ifndef _INODE_H
#define _INODE_H 0
#include "block.h"
#define TOTAL_INODES (BLOCK_SIZE*INODE_TABLE_BLOCKS/sizeof(struct fs_inode))
/* the INODE_OFFSET(x) implies boot + super contains in one block */
#define INODE_OFFSET(x) (BLOCK_SIZE + (x)*sizeof(struct fs_inode))
int get_ind(FILE *fp);
int free_ind( FILE *fp, int ind_no);
int update_ind( FILE *fp, int ind_no, struct fs_inode inode);
#endif /* _INODE_H */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -