summaryrefslogblamecommitdiffstats
path: root/cpukit/posix/src/devctl.c
blob: 84674c52ea563686a2e5c3c52e399f2b067077d6 (plain) (tree)
1
2
3
4
5
6
7
8
9
  






                                                           
        

   



                   
                   
                  
 
                         
                         
 











                                               
                                                 
 
/*
 *  COPYRIGHT (c) 1989-2007.
 *  On-Line Applications Research Corporation (OAR).
 *
 *  The license and distribution terms for this file may be
 *  found in the file LICENSE in this distribution or at
 *  http://www.rtems.com/license/LICENSE.
 *
 *  $Id$
 */

#if HAVE_CONFIG_H
#include "config.h"
#endif

#include <devctl.h>
#include <errno.h>

#include <rtems/system.h>
#include <rtems/seterr.h>

/*PAGE
 *
 *  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
)
{
  rtems_set_errno_and_return_minus_one( ENOSYS );
}