source: rtems/c/src/tests/support/stubdr/write.c @ 4b374f36

4.104.114.84.95
Last change on this file since 4b374f36 was ac7d5ef0, checked in by Joel Sherrill <joel.sherrill@…>, on 05/11/95 at 17:39:37

Initial revision

  • Property mode set to 100644
File size: 981 bytes
Line 
1/*  Stub_write
2 *
3 *  This routine is the terminal driver write routine.
4 *
5 *  Input parameters:
6 *    major - device major number
7 *    minor - device minor number
8 *    pargp - pointer to write parameter block
9 *    tid   - calling task's id
10 *    rval  - address of the return value
11 *
12 *  Output parameters:
13 *    rval       - STUB_SUCCESSFUL
14 *
15 *  COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994.
16 *  On-Line Applications Research Corporation (OAR).
17 *  All rights assigned to U.S. Government, 1994.
18 *
19 *  This material may be reproduced by or for the U.S. Government pursuant
20 *  to the copyright license under the clause at DFARS 252.227-7013.  This
21 *  notice must appear in all copies of this file and its derivatives.
22 *
23 *  $Id$
24 */
25
26#include <rtems.h>
27#include "stubdrv.h"
28
29rtems_device_driver Stub_write(
30  rtems_device_major_number major,
31  rtems_device_minor_number minor,
32  void *pargp,
33  rtems_id tid,
34  rtems_unsigned32 *rval
35)
36{
37  *rval = STUB_SUCCESSFUL;
38}
Note: See TracBrowser for help on using the repository browser.