1EVENTFD_FGET(9) Events based on file descripto EVENTFD_FGET(9)
23
4
NAME
6eventfd_fget - Acquire a reference of an eventfd file descriptor.
7
SYNOPSIS
9struct file * eventfd_fget(int fd);
10
ARGUMENTS
12fd
13[in] Eventfd file descriptor.
14
DESCRIPTION
16Returns a pointer to the eventfd file structure in case of success, or
17the
18
FOLLOWING ERROR POINTER
20-EBADF : Invalid fd file descriptor. -EINVAL : The fd file descriptor
21is not an eventfd file.
22
COPYRIGHT
24Kernel Hackers Manual 3.10 June 2019 EVENTFD_FGET(9)