4.104.114.84.95
Last change
on this file since 0ff3df03 was
0ff3df03,
checked in by Ralf Corsepius <ralf.corsepius@…>, on 12/10/04 at 04:17:50
|
2004-12-10 Ralf Corsepius <ralf.corsepius@…>
- posix/include/aio.h, posix/include/devctl.h,
posix/include/intr.h, posix/include/mqueue.h,
posix/include/sched.h, posix/include/semaphore.h,
posix/src/ptimer.c, posix/src/ptimer1.c:
Include <unistd.h> instead of <sys/features.h> to pick up
_POSIX_* defines (Mandated by POSIX).
|
-
Property mode set to
100644
|
File size:
477 bytes
|
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 <unistd.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.