Function report |
Source Code:fs\fcntl.c |
Create Date:2022-07-28 20:05:47 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:setfl
Proto:static int setfl(int fd, struct file *filp, unsigned long arg)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| int | fd | |
| struct file * | filp | |
| unsigned long | arg |
| 37 | inode = file_inode(filp) |
| 38 | error = 0 |
| 50 | Return -EPERM |
| 53 | If O_NONBLOCK != O_NDELAY Then If arg & O_NDELAY Then |
| 55 | arg |= O_NONBLOCK |
| 64 | If check_flags Then error = check_flags(arg) |
| 80 | f_flags = arg & SETFL_MASK | f_flags & ~SETFL_MASK |
| 83 | out : |
| 84 | Return error |
| Name | Describe |
|---|---|
| do_fcntl |
| 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 |