Function report |
Source Code:kernel\umh.c |
Create Date:2022-07-28 09:22:45 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:umh_pipe_setup
Proto:static int umh_pipe_setup(struct subprocess_info *info, struct cred *new)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct subprocess_info * | info | |
| struct cred * | new |
| 443 | err = create_pipe_files(to_umh, 0) |
| 446 | err = replace_fd(0, to_umh[0], 0) |
| 448 | If err < 0 Then |
| 454 | err = create_pipe_files(from_umh, 0) |
| 455 | If err Then |
| 460 | err = replace_fd(1, from_umh[1], 0) |
| 462 | If err < 0 Then |
| 469 | pipe_to_umh = to_umh[1] |
| 470 | pipe_from_umh = from_umh[0] |
| 471 | Return 0 |
| 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 |