source: rtems/c/src/exec/posix/base/devctl.h @ c701f197

4.104.114.84.95
Last change on this file since c701f197 was 5e9b32b, checked in by Joel Sherrill <joel.sherrill@…>, on 09/26/95 at 19:27:15

posix support initially added

  • Property mode set to 100644
File size: 398 bytes
Line 
1/* devctl.h
2 *
3 */
4
5#ifndef __POSIX_DEVICE_CONTROL_h
6#define __POSIX_DEVICE_CONTROL_h
7
8#include <rtems/posix/features.h>
9
10#if defined(_POSIX_DEVICE_CONTROL)
11
12#include <sys/types.h>
13#include <unistd.h>
14
15/*
16 *  21.2.1 Control a Device, P1003.4b/D8, p. 65
17 */
18
19int devctl(
20  int     filedes,
21  void   *dev_data_ptr,
22  size_t  nbyte,
23  int    *dev_info_ptr
24);
25
26#endif
27
28#endif
29/* end of include file */
Note: See TracBrowser for help on using the repository browser.