Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\notify\group.c Create Date:2022-07-28 20:16:20
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:fsnotify_fasync

Proto:int fsnotify_fasync(int fd, struct file *file, int on)

Type:int

Parameter:

TypeParameterName
intfd
struct file *file
inton
145  group = needed for tty driver, and maybe others
147  Return If 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 Then 0 Else -EIO