blob: efc6219fc4c068606a3b52ec1353a8923cee2995 [file] [log] [blame]
Elliott Hughes180edef2023-11-02 00:08:05 +00001/*
2 * This file is auto-generated. Modifications will be lost.
3 *
4 * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/
5 * for more information.
6 */
Christopher Ferris48af7cb2017-02-21 12:35:09 -08007#ifndef _UAPI_LINUX_TIMERFD_H
8#define _UAPI_LINUX_TIMERFD_H
9#include <linux/types.h>
10#include <linux/fcntl.h>
Christopher Ferris48af7cb2017-02-21 12:35:09 -080011#include <linux/ioctl.h>
12#define TFD_TIMER_ABSTIME (1 << 0)
13#define TFD_TIMER_CANCEL_ON_SET (1 << 1)
14#define TFD_CLOEXEC O_CLOEXEC
Christopher Ferris48af7cb2017-02-21 12:35:09 -080015#define TFD_NONBLOCK O_NONBLOCK
16#define TFD_IOC_SET_TICKS _IOW('T', 0, __u64)
17#endif