File: timerfd.h

package info (click to toggle)
dietlibc 0.32-5.1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 9,116 kB
  • ctags: 19,753
  • sloc: ansic: 54,723; asm: 11,274; cpp: 1,835; makefile: 683; sh: 104; perl: 62
file content (16 lines) | stat: -rw-r--r-- 365 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef _SYS_TIMERFD_H
#define _SYS_TIMERFD_H

#include <time.h>

enum { TFD_TIMER_ABSTIME = 1 };

__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;

__END_DECLS

#endif