Lines 30-36
Link Here
|
30 |
|
30 |
|
31 |
#include <sys/types.h> |
31 |
#include <sys/types.h> |
32 |
#include <sys/fcntl.h> |
32 |
#include <sys/fcntl.h> |
33 |
#include <sys/proc.h> |
|
|
34 |
#include <sys/timespec.h> |
33 |
#include <sys/timespec.h> |
35 |
|
34 |
|
36 |
typedef uint64_t timerfd_t; |
35 |
typedef uint64_t timerfd_t; |
Lines 54-59
__END_DECLS
Link Here
|
54 |
|
53 |
|
55 |
#else /* _KERNEL */ |
54 |
#else /* _KERNEL */ |
56 |
|
55 |
|
|
|
56 |
struct thread; |
57 |
|
57 |
int kern_timerfd_create(struct thread *td, int clockid, int flags); |
58 |
int kern_timerfd_create(struct thread *td, int clockid, int flags); |
58 |
int kern_timerfd_gettime(struct thread *td, int fd, |
59 |
int kern_timerfd_gettime(struct thread *td, int fd, |
59 |
struct itimerspec *curr_value); |
60 |
struct itimerspec *curr_value); |