source:
rtems/cpukit/posix/include/devctl.h
@
f22ebf0
Last change on this file since f22ebf0 was c7aa9d6, checked in by Joel Sherrill <joel.sherrill@…>, on 04/26/99 at 18:22:08 | |
---|---|
|
|
File size: 468 bytes |
Rev | Line | |
---|---|---|
[5e9b32b] | 1 | /* devctl.h |
2 | * | |
[eb5a7e07] | 3 | * $Id$ |
[5e9b32b] | 4 | */ |
5 | ||
6 | #ifndef __POSIX_DEVICE_CONTROL_h | |
7 | #define __POSIX_DEVICE_CONTROL_h | |
8 | ||
[c7aa9d6] | 9 | #ifdef __cplusplus |
10 | extern "C" { | |
11 | #endif | |
12 | ||
13 | #include <sys/features.h> | |
[5e9b32b] | 14 | |
15 | #if defined(_POSIX_DEVICE_CONTROL) | |
16 | ||
17 | #include <sys/types.h> | |
18 | #include <unistd.h> | |
19 | ||
20 | /* | |
21 | * 21.2.1 Control a Device, P1003.4b/D8, p. 65 | |
22 | */ | |
23 | ||
24 | int devctl( | |
25 | int filedes, | |
26 | void *dev_data_ptr, | |
27 | size_t nbyte, | |
28 | int *dev_info_ptr | |
29 | ); | |
30 | ||
31 | #endif | |
32 | ||
[c7aa9d6] | 33 | #ifdef __cplusplus |
34 | } | |
35 | #endif | |
36 | ||
[5e9b32b] | 37 | #endif |
38 | /* end of include file */ |
Note: See TracBrowser
for help on using the repository browser.