Function report |
Source Code:fs\eventpoll.c |
Create Date:2022-07-28 20:19:09 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Open an eventpoll file descriptor.
Proto:static int do_epoll_create(int flags)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| int | flags |
| 2030 | If flags & ~Flags for epoll_create1. Then Return -EINVAL |
| 2042 | fd = get_unused_fd_flags(O_RDWR | (flags & O_CLOEXEC)) |
| 2043 | If fd < 0 Then |
| 2045 | Go to out_free_ep |
| 2051 | Go to out_free_fd |
| 2054 | fd_install(fd, file) |
| 2055 | Return fd |
| 2057 | out_free_fd : |
| 2058 | put_unused_fd(fd) |
| 2059 | out_free_ep : |
| 2061 | Return error |
| Name | Describe |
|---|---|
| SYSCALL_DEFINE1 | |
| 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 |