diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1995-09-26 19:27:15 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1995-09-26 19:27:15 +0000 |
commit | 5e9b32b439627068a0292370fe595220dbfc95a0 (patch) | |
tree | 3740b62de3aaa10140867de33adad9a1fcc15b26 /c/src/exec/posix/base/devctl.h | |
parent | fixed Id strings (diff) | |
download | rtems-5e9b32b439627068a0292370fe595220dbfc95a0.tar.bz2 |
posix support initially added
Diffstat (limited to '')
-rw-r--r-- | c/src/exec/posix/base/devctl.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/c/src/exec/posix/base/devctl.h b/c/src/exec/posix/base/devctl.h new file mode 100644 index 0000000000..e3fd39128f --- /dev/null +++ b/c/src/exec/posix/base/devctl.h @@ -0,0 +1,29 @@ +/* devctl.h + * + */ + +#ifndef __POSIX_DEVICE_CONTROL_h +#define __POSIX_DEVICE_CONTROL_h + +#include <rtems/posix/features.h> + +#if defined(_POSIX_DEVICE_CONTROL) + +#include <sys/types.h> +#include <unistd.h> + +/* + * 21.2.1 Control a Device, P1003.4b/D8, p. 65 + */ + +int devctl( + int filedes, + void *dev_data_ptr, + size_t nbyte, + int *dev_info_ptr +); + +#endif + +#endif +/* end of include file */ |