4.104.114.84.95
Line | |
---|
1 | /** |
---|
2 | * @file devctl.h |
---|
3 | */ |
---|
4 | |
---|
5 | /* |
---|
6 | * $Id$ |
---|
7 | */ |
---|
8 | |
---|
9 | #ifndef __POSIX_DEVICE_CONTROL_h |
---|
10 | #define __POSIX_DEVICE_CONTROL_h |
---|
11 | |
---|
12 | #ifdef __cplusplus |
---|
13 | extern "C" { |
---|
14 | #endif |
---|
15 | |
---|
16 | #include <sys/features.h> |
---|
17 | |
---|
18 | #if defined(_POSIX_DEVICE_CONTROL) |
---|
19 | |
---|
20 | #include <sys/types.h> |
---|
21 | #include <unistd.h> |
---|
22 | |
---|
23 | /* |
---|
24 | * 21.2.1 Control a Device, P1003.4b/D8, p. 65 |
---|
25 | */ |
---|
26 | |
---|
27 | int devctl( |
---|
28 | int filedes, |
---|
29 | void *dev_data_ptr, |
---|
30 | size_t nbyte, |
---|
31 | int *dev_info_ptr |
---|
32 | ); |
---|
33 | |
---|
34 | #endif |
---|
35 | |
---|
36 | #ifdef __cplusplus |
---|
37 | } |
---|
38 | #endif |
---|
39 | |
---|
40 | #endif |
---|
41 | /* end of include file */ |
---|
Note: See
TracBrowser
for help on using the repository browser.