OSDN Git Service

Initial revision
[pf3gnuchains/pf3gnuchains3x.git] / winsup / cygwin / include / cygwin / rdevio.h
1 /*
2  * cygwin/rdevio.h header file for Cygwin.
3  *
4  * Written by C. Vinschen.
5  */
6
7 #ifndef _CYGWIN_RDEVIO_H
8 #define _CYGWIN_RDEVIO_H
9
10 /* structure for RDIOCDOP - raw device operation */
11 struct rdop {
12         short           rd_op;
13         unsigned long   rd_parm;
14 };
15
16 /* Raw device operations */
17 #define RDSETBLK        1       /* set buffer for driver */
18
19 /* structure for RDIOCGET - get raw device */
20 struct rdget {
21         unsigned long   bufsiz;
22 };
23
24 /*
25  * ioctl commands
26 */
27 #define RDIOCDOP        _IOW('r', 128, struct rdop)
28 #define RDIOCGET        _IOR('r', 129, struct rdget)
29
30 #endif /* _CYGWIN_RDEVIO_H */