函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\notify\group.c Create Date:2022-07-29 10:47:53
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:fsnotify_fasync

函数原型:int fsnotify_fasync(int fd, struct file *file, int on)

返回类型:int

参数:

类型参数名称
intfd
struct file *file
inton
145  group等于 needed for tty driver, and maybe others
147  返回:如果async_helper() is used by almost all character device drivers* to set up the fasync queue, and for regular files by the file* lease code. It returns negative on error, 0 if it did no changes* and positive if it added/deleted the entry.大于等于0则0否则负EIO