Function report |
Source Code:fs\pipe.c |
Create Date:2022-07-28 20:04:29 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:pipe_fasync
Proto:static int pipe_fasync(int fd, struct file *filp, int on)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| int | fd | |
| struct file * | filp | |
| int | on |
| 723 | retval = 0 |
| 725 | __pipe_lock(pipe) |
| 726 | If f_mode & le is open for reading Then retval = SMP safe fasync helpers: |
| 728 | If f_mode & le is open for writing && retval >= 0 Then |
| 730 | If retval < 0 && f_mode & le is open for reading Then SMP safe fasync helpers: |
| 734 | __pipe_unlock(pipe) |
| 735 | Return retval |
| 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 |