⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 lock.h

📁 Minix3.11的源码。[MINIX 3是一个为高可靠性应用而设计的自由且简洁的类UNIX系统。]
💻 H
字号:
/* This is the file locking table.  Like the filp table, it points to the * inode table, however, in this case to achieve advisory locking. */EXTERN struct file_lock {  short lock_type;		/* F_RDLOCK or F_WRLOCK; 0 means unused slot */  pid_t lock_pid;		/* pid of the process holding the lock */  struct inode *lock_inode;	/* pointer to the inode locked */  off_t lock_first;		/* offset of first byte locked */  off_t lock_last;		/* offset of last byte locked */} file_lock[NR_LOCKS];

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -