Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(218)

Side by Side Diff: fusl/include/sys/timerfd.h

Issue 1714623002: [fusl] clang-format fusl (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: headers too Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 #ifndef _SYS_TIMERFD_H 1 #ifndef _SYS_TIMERFD_H
2 #define _SYS_TIMERFD_H 2 #define _SYS_TIMERFD_H
3 3
4 #ifdef __cplusplus 4 #ifdef __cplusplus
5 extern "C" { 5 extern "C" {
6 #endif 6 #endif
7 7
8 #include <time.h> 8 #include <time.h>
9 #include <fcntl.h> 9 #include <fcntl.h>
10 10
11 #define TFD_NONBLOCK O_NONBLOCK 11 #define TFD_NONBLOCK O_NONBLOCK
12 #define TFD_CLOEXEC O_CLOEXEC 12 #define TFD_CLOEXEC O_CLOEXEC
13 13
14 #define TFD_TIMER_ABSTIME 1 14 #define TFD_TIMER_ABSTIME 1
15 15
16 struct itimerspec; 16 struct itimerspec;
17 17
18 int timerfd_create(int, int); 18 int timerfd_create(int, int);
19 int timerfd_settime(int, int, const struct itimerspec *, struct itimerspec *); 19 int timerfd_settime(int, int, const struct itimerspec*, struct itimerspec*);
20 int timerfd_gettime(int, struct itimerspec *); 20 int timerfd_gettime(int, struct itimerspec*);
21 21
22 #ifdef __cplusplus 22 #ifdef __cplusplus
23 } 23 }
24 #endif 24 #endif
25 25
26 #endif 26 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698