Back to index

glibc  2.9
Functions
eventfd_read.c File Reference
#include <errno.h>
#include <unistd.h>
#include <sys/eventfd.h>

Go to the source code of this file.

Functions

int eventfd_read (int fd, eventfd_t *value)

Function Documentation

int eventfd_read ( int  fd,
eventfd_t value 
)

Definition at line 25 of file eventfd_read.c.

{
  return __read (fd, value, sizeof (eventfd_t)) != sizeof (eventfd_t) ? -1 : 0;
}

Here is the call graph for this function: