| Function report | 
| Source Code: fs\pipe.c | Create Date:2022-07-28 20:04:30 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:__do_pipe_flags
Proto:static int __do_pipe_flags(int *fd, struct file **files, int flags)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| int * | fd | |
| struct file ** | files | |
| int | flags | 
| 919 | If flags & ~( O_CLOEXEC | O_NONBLOCK | O_DIRECT) Then Return -EINVAL | 
| 922 | error = create_pipe_files(files, flags) | 
| 926 | error = get_unused_fd_flags(flags) | 
| 927 | If error < 0 Then Go to err_read_pipe | 
| 931 | error = get_unused_fd_flags(flags) | 
| 936 | audit_fd_pair(fdr, fdw) | 
| 939 | Return 0 | 
| 941 | err_fdr : | 
| 942 | put_unused_fd(fdr) | 
| 943 | err_read_pipe : | 
| 946 | Return error | 
| Name | Describe | 
|---|---|
| do_pipe_flags | |
| do_pipe2 | sys_pipe() is the normal C calling standard for creating* a pipe. It's not the way Unix traditionally does this, though. | 
| 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 |