~ubuntu-branches/ubuntu/vivid/emscripten/vivid-proposed

« back to all changes in this revision

Viewing changes to system/include/libc/sys/timerfd.h

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2014-01-19 14:12:40 UTC
  • mfrom: (4.1.2 sid)
  • Revision ID: package-import@ubuntu.com-20140119141240-nfiw0p8033oitpfz
Tags: 1.9.0~20140119~7dc8c2f-1
* New snapshot release (Closes: #733714)
* Provide sources for javascript and flash. Done in orig-tar.sh
  Available in third_party/websockify/include/web-socket-js/src/
  (Closes: #735903)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef _SYS_TIMERFD_H
 
2
#define _SYS_TIMERFD_H
 
3
 
 
4
#ifdef __cplusplus
 
5
extern "C" {
 
6
#endif
 
7
 
 
8
#include <time.h>
 
9
#include <fcntl.h>
 
10
 
 
11
#define TFD_NONBLOCK O_NONBLOCK
 
12
#define TFD_CLOEXEC O_CLOEXEC
 
13
 
 
14
#define TFD_TIMER_ABSTIME 1
 
15
 
 
16
int timerfd_create(int, int);
 
17
int timerfd_settime(int, int, const struct itimerspec *, struct itimerspec *);
 
18
int timerfd_gettime(int, struct itimerspec *);
 
19
 
 
20
#ifdef __cplusplus
 
21
}
 
22
#endif
 
23
 
 
24
#endif