'\" t .\" Title: eventfd_fget .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: July 2017 .\" Manual: Events based on file descriptors .\" Source: Kernel Hackers Manual 4.11.6 .\" Language: English .\" .TH "EVENTFD_FGET" "9" "July 2017" "Kernel Hackers Manual 4\&.11\&" "Events based on file descripto" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" eventfd_fget \- Acquire a reference of an eventfd file descriptor\&. .SH "SYNOPSIS" .HP \w'struct\ file\ *\ eventfd_fget('u .BI "struct file * eventfd_fget(int\ " "fd" ");" .SH "ARGUMENTS" .PP \fIint fd\fR .RS 4 [in] Eventfd file descriptor\&. .RE .SH "DESCRIPTION" .PP Returns a pointer to the eventfd file structure in case of success, or the following error pointer: .PP \-EBADF : Invalid \fIfd\fR file descriptor\&. \-EINVAL : The \fIfd\fR file descriptor is not an eventfd file\&. .SH "COPYRIGHT" .br