1. NAME

eventfd_fget - Acquire a reference of an eventfd file descriptor.

2. SYNOPSIS

struct file * eventfd_fget(int  fd );

3. ARGUMENTS

fd
    [in] Eventfd file descriptor.

4. DESCRIPTION

Returns a pointer to the eventfd file structure in case of success, or the

5. FOLLOWING ERROR POINTER

-EBADF : Invalid fd file descriptor. -EINVAL : The fd file descriptor is not an eventfd file.

6. COPYRIGHT