eventfd_fget (9) - Linux Manuals

eventfd_fget: Acquire a reference of an eventfd file descriptor.

NAME

eventfd_fget - Acquire a reference of an eventfd file descriptor.

SYNOPSIS

struct file * eventfd_fget(int fd);

ARGUMENTS

fd

[in] Eventfd file descriptor.

DESCRIPTION

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

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

COPYRIGHT