OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems/] [c/] [src/] [exec/] [posix/] [include/] [devctl.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 158 chris
/* devctl.h
2
 *
3 208 chris
 *  $Id: devctl.h,v 1.2 2001-09-27 11:59:13 chris Exp $
4 158 chris
 */
5
 
6
#ifndef __POSIX_DEVICE_CONTROL_h
7
#define __POSIX_DEVICE_CONTROL_h
8
 
9
#ifdef __cplusplus
10
extern "C" {
11
#endif
12
 
13
#include <sys/features.h>
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
 
33
#ifdef __cplusplus
34
}
35
#endif
36
 
37
#endif
38
/* end of include file */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.