summaryrefslogtreecommitdiff
path: root/hurd/ioctl-decode.h
blob: f65880cf60ff84895e8417d66fc1f49ae1dd0071 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* This file is used by the Makefile rules for generating
   Xioctl-proto.defs, see Makefile for details.  */

#define CMD(request)	_IOC_COMMAND (request)
#define TYPE(request)	_IOC_TYPE (request)
#define INOUT(request)	_IOC_INOUT (request)

#define SUBID(request)	IOC_COMMAND_SUBID (_IOC_COMMAND (request))

#define TYPE0(request)	_IOT_TYPE0 (_IOC_TYPE (request))
#define TYPE1(request)	_IOT_TYPE1 (_IOC_TYPE (request))
#define TYPE2(request)	_IOT_TYPE2 (_IOC_TYPE (request))
#define COUNT0(request)	_IOT_COUNT0 (_IOC_TYPE (request))
#define COUNT1(request)	_IOT_COUNT1 (_IOC_TYPE (request))
#define COUNT2(request)	_IOT_COUNT2 (_IOC_TYPE (request))