source:
rtems/cpukit/posix/include/devctl.h
@
6c2675d
Last change on this file since 6c2675d was 6c2675d, checked in by Ralf Corsepius <ralf.corsepius@…>, on 11/21/04 at 06:27:15 | |
---|---|
|
|
File size: 483 bytes |
Rev | Line | |
---|---|---|
[6c2675d] | 1 | /** |
2 | * @file devctl.h | |
3 | */ | |
4 | ||
5 | /* | |
[eb5a7e07] | 6 | * $Id$ |
[5e9b32b] | 7 | */ |
8 | ||
9 | #ifndef __POSIX_DEVICE_CONTROL_h | |
10 | #define __POSIX_DEVICE_CONTROL_h | |
11 | ||
[c7aa9d6] | 12 | #ifdef __cplusplus |
13 | extern "C" { | |
14 | #endif | |
15 | ||
16 | #include <sys/features.h> | |
[5e9b32b] | 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 | ||
[c7aa9d6] | 36 | #ifdef __cplusplus |
37 | } | |
38 | #endif | |
39 | ||
[5e9b32b] | 40 | #endif |
41 | /* end of include file */ |
Note: See TracBrowser
for help on using the repository browser.