Function report |
Source Code:kernel\pid.c |
Create Date:2022-07-28 09:28:46 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:pidfd_create() - Create a new pid file descriptor.*@pid: struct pid that the pidfd will reference* This creates a new pid file descriptor with the O_CLOEXEC flag set.* Note, that this function can only be called after the fd table has
Proto:static int pidfd_create(struct pid *pid)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct pid * | pid |
| 516 | fd = anon_inode_getfd("[pidfd]", & pidfd_fops, get_pid(pid), O_RDWR | O_CLOEXEC) |
| 521 | Return fd |
| Name | Describe |
|---|---|
| SYSCALL_DEFINE2 | pidfd_open() - Open new pid file descriptor.*@pid: pid for which to retrieve a pidfd*@flags: flags to pass* This creates a new pid file descriptor with the O_CLOEXEC flag set for* the process identified by @pid. Currently, the process identified by |
| 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 |