dnotify.h

来自「这是一个SIGMA方案的PMP播放器的UCLINUX程序,可播放DVD,VCD,」· C头文件 代码 · 共 26 行

H
26
字号
/* * Directory notification for Linux * * Copyright 2000 (C) Stephen Rothwell */struct dnotify_struct {	struct dnotify_struct *	dn_next;	int			dn_magic;	unsigned long		dn_mask;	/* Events to be notified						   see linux/fcntl.h */	int			dn_fd;	struct file *		dn_filp;};#define DNOTIFY_MAGIC	0x444E4F54extern void __inode_dir_notify(struct inode *, unsigned long);extern int fcntl_dirnotify(int, struct file *, unsigned long);static inline void inode_dir_notify(struct inode *inode, unsigned long event){	if ((inode)->i_dnotify_mask & (event))		__inode_dir_notify(inode, event);}

⌨️ 快捷键说明

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