fcntl.h

来自「讲述linux的初始化过程」· C头文件 代码 · 共 27 行

H
27
字号
#ifndef _LINUX_FCNTL_H#define _LINUX_FCNTL_H#include <asm/fcntl.h>#define F_SETLEASE	(F_LINUX_SPECIFIC_BASE+0)#define F_GETLEASE	(F_LINUX_SPECIFIC_BASE+1)/* * Request nofications on a directory. * See below for events that may be notified. */#define F_NOTIFY	(F_LINUX_SPECIFIC_BASE+2)/* * Types of directory notifications that may be requested. */#define DN_ACCESS	0x00000001	/* File accessed */#define DN_MODIFY	0x00000002	/* File modified */#define DN_CREATE	0x00000004	/* File created */#define DN_DELETE	0x00000008	/* File removed */#define DN_RENAME	0x00000010	/* File renamed */#define DN_ATTRIB	0x00000020	/* File changed attibutes */#define DN_MULTISHOT	0x80000000	/* Don't remove notifier */#endif

⌨️ 快捷键说明

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