Changeset 5c491aef in rtems for c/src/tests/support
- Timestamp:
- 12/20/95 15:39:19 (28 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- c64e4ed4
- Parents:
- 4442d21c
- Location:
- c/src/tests/support/stubdr
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/tests/support/stubdr/close.c
r4442d21c r5c491aef 1 /* Stub_close 2 * 3 * This routine is the terminal driver close routine. 4 * 5 * Input parameters: 6 * major - device major number 7 * minor - device minor number 8 * pargb - pointer to close parameter block 9 * 10 * Output parameters: 11 * rval - STUB_SUCCESSFUL 12 * 13 * COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994. 14 * On-Line Applications Research Corporation (OAR). 15 * All rights assigned to U.S. Government, 1994. 16 * 17 * This material may be reproduced by or for the U.S. Government pursuant 18 * to the copyright license under the clause at DFARS 252.227-7013. This 19 * notice must appear in all copies of this file and its derivatives. 20 * 21 * $Id$ 22 */ 23 24 #include <rtems.h> 25 #include "stubdrv.h" 26 27 rtems_device_driver Stub_close( 28 rtems_device_major_number major, 29 rtems_device_minor_number minor, 30 void *pargp 31 ) 32 { 33 return STUB_SUCCESSFUL; 34 } -
c/src/tests/support/stubdr/cntrl.c
r4442d21c r5c491aef 1 /* Stub_control 2 * 3 * This routine is the terminal driver control routine. 4 * 5 * Input parameters: 6 * major - device major number 7 * minor - device minor number 8 * pargp - pointer to cntrl parameter block 9 * 10 * Output parameters: 11 * rval - STUB_SUCCESSFUL 12 * 13 * COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994. 14 * On-Line Applications Research Corporation (OAR). 15 * All rights assigned to U.S. Government, 1994. 16 * 17 * This material may be reproduced by or for the U.S. Government pursuant 18 * to the copyright license under the clause at DFARS 252.227-7013. This 19 * notice must appear in all copies of this file and its derivatives. 20 * 21 * $Id$ 22 */ 23 24 #include <rtems.h> 25 #include "stubdrv.h" 26 27 rtems_device_driver Stub_control( 28 rtems_device_major_number major, 29 rtems_device_minor_number minor, 30 void *pargp 31 ) 32 { 33 return STUB_SUCCESSFUL; 34 }
Note: See TracChangeset
for help on using the changeset viewer.