| Function report | 
| Source Code: fs\fcntl.c | Create Date:2022-07-28 20:06:04 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name: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.
Proto:int fasync_helper(int fd, struct file *filp, int on, struct fasync_struct **fapp)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| int | fd | |
| struct file * | filp | |
| int | on | |
| struct fasync_struct ** | fapp | 
| Name | Describe | 
|---|---|
| pipe_fasync | |
| fsnotify_fasync | |
| io_uring_fasync | |
| lease_modify | We already had a lease on this file; just change its type | 
| Source code conversion tool public plug-in interface | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |