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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [exec/] [posix/] [include/] [devctl.h] - Rev 846

Go to most recent revision | Compare with Previous | Blame | View Log

/* devctl.h
 *
 *  $Id: devctl.h,v 1.2 2001-09-27 11:59:13 chris Exp $
 */
 
#ifndef __POSIX_DEVICE_CONTROL_h
#define __POSIX_DEVICE_CONTROL_h
 
#ifdef __cplusplus
extern "C" {
#endif
 
#include <sys/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
 
#ifdef __cplusplus
}
#endif
 
#endif
/* end of include file */
 

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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