Back to index

glibc  2.9
Defines | Enumerations | Functions
timerfd.h File Reference
#include <time.h>

Go to the source code of this file.

Defines

#define TFD_CLOEXEC   TFD_CLOEXEC
#define TFD_NONBLOCK   TFD_NONBLOCK
#define TFD_TIMER_ABSTIME   TFD_TIMER_ABSTIME

Enumerations

enum  { TFD_CLOEXEC = 0x400000, TFD_CLOEXEC = 0x400000, TFD_NONBLOCK }
enum  { TFD_TIMER_ABSTIME }

Functions

__BEGIN_DECLS int timerfd_create (clockid_t __clock_id, int __flags) __THROW
int timerfd_settime (int __ufd, int __flags, __const struct itimerspec *__utmr, struct itimerspec *__otmr) __THROW
int timerfd_gettime (int __ufd, struct itimerspec *__otmr) __THROW

Define Documentation

#define TFD_CLOEXEC   TFD_CLOEXEC

Definition at line 29 of file timerfd.h.

#define TFD_NONBLOCK   TFD_NONBLOCK

Enumeration Type Documentation

anonymous enum
Enumerator:
TFD_CLOEXEC 
TFD_CLOEXEC 
TFD_NONBLOCK 

Definition at line 26 of file timerfd.h.

  {
    TFD_CLOEXEC = 0x400000,
#define TFD_CLOEXEC TFD_CLOEXEC
    TFD_NONBLOCK = 0x4000
#define TFD_NONBLOCK TFD_NONBLOCK
  };
anonymous enum
Enumerator:
TFD_TIMER_ABSTIME 

Definition at line 36 of file timerfd.h.

  {
    TFD_TIMER_ABSTIME = 1 << 0
#define TFD_TIMER_ABSTIME TFD_TIMER_ABSTIME
  };

Function Documentation

__BEGIN_DECLS int timerfd_create ( clockid_t  __clock_id,
int  __flags 
)
int timerfd_gettime ( int  __ufd,
struct itimerspec *  __otmr 
)
int timerfd_settime ( int  __ufd,
int  __flags,
__const struct itimerspec *  __utmr,
struct itimerspec *  __otmr 
)