Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/specialfd.h
Show All 26 Lines | |||||
* $FreeBSD$ | * $FreeBSD$ | ||||
*/ | */ | ||||
#ifndef _SYS_SPECIALFD_H_ | #ifndef _SYS_SPECIALFD_H_ | ||||
#define _SYS_SPECIALFD_H_ | #define _SYS_SPECIALFD_H_ | ||||
enum specialfd_type { | enum specialfd_type { | ||||
SPECIALFD_EVENTFD = 1, | SPECIALFD_EVENTFD = 1, | ||||
SPECIALFD_TIMERFD = 2, | |||||
kib: Comma | |||||
}; | }; | ||||
struct specialfd_eventfd { | struct specialfd_eventfd { | ||||
unsigned int initval; | unsigned int initval; | ||||
int flags; | |||||
}; | |||||
struct specialfd_timerfd { | |||||
int clockid; | |||||
int flags; | int flags; | ||||
}; | }; | ||||
#endif /* !_SYS_SPECIALFD_H_ */ | #endif /* !_SYS_SPECIALFD_H_ */ |
Comma