home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c222 / 1.ddi / INC / SI_HEAD.H < prev    next >
Encoding:
C/C++ Source or Header  |  1990-05-21  |  598 b   |  21 lines

  1. /*********************
  2.  *
  3.  *  si_head.h [NON-ANSI] - header file for serial I/O.
  4.  *
  5.  *  Purpose: This file contains the definitions for the serial device
  6.  *           handler functions.
  7.  *
  8.  *  Blackstar C Function Library
  9.  *  (c) Copyright 1985,1989 Sterling Castle Software
  10.  *
  11.  *******/
  12.  
  13. struct SI_PARMS {
  14.     char type;     /* 0=line, 1=modem */
  15.     char baud;     /* 0-7 for 110,150,300,600,1200,2400,4800,9600 */
  16.     char parity;   /* 0,1,3 for none, odd, even */
  17.     char stop;     /* 1 or 2 for # of stop bits */
  18.     char wbits;    /* 7 or 8 for bits per word  */
  19.     };
  20.  
  21.