text.h
来自「著名的AT&T UNIX v6 源码」· C头文件 代码 · 共 25 行
H
25 行
/* * Text structure. * One allocated per pure * procedure on swap device. * Manipulated by text.c */struct text{ short x_daddr; /* disk address of segment (relative to swplo) */ short x_size; /* size (clicks) */ struct proc *x_caddr; /* ptr to linked proc, if loaded */ struct inode *x_iptr; /* inode of prototype */ char x_count; /* reference count */ char x_ccount; /* number of loaded references */ char x_flag; /* traced, written flags */};extern struct text text[];#define XTRC 01 /* Text may be written, exclusive use */#define XWRIT 02 /* Text written into, must swap out */#define XLOAD 04 /* Currently being read from file */#define XLOCK 010 /* Being swapped in or out */#define XWANT 020 /* Wanted for swapping */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?