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:sys_pipe() is the normal C calling standard for creating* a pipe. It's not the way Unix traditionally does this, though.
Proto:static int do_pipe2(int __user *fildes, int flags)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
int __user * | fildes | |
int | flags |
970 | error = __do_pipe_flags(fd, files, flags) |
971 | If Not error Then |
972 | If Value for the false possibility is greater at compile time(copy_to_user(fildes, fd, size of fd )) Then |
975 | put_unused_fd(fd[0]) |
976 | put_unused_fd(fd[1]) |
978 | Else |
979 | fd_install(fd[0], files[0]) |
980 | fd_install(fd[1], files[1]) |
983 | Return error |
Name | Describe |
---|---|
SYSCALL_DEFINE2 | |
SYSCALL_DEFINE1 |
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 |