home *** CD-ROM | disk | FTP | other *** search
/ PC-SIG Library 8 / PC-SIG Library CD-ROM (8th Edition) (1990-04).iso / 201_300 / disk0216 / readc.c < prev    next >
Encoding:
Text File  |  1984-06-25  |  785 b   |  17 lines

  1. /*                          *** readc.c ***                          */
  2. /*                                                                   */
  3. /* IBM-PC microsoft "C" under PC-DOS v2.0                            */
  4. /*                                                                   */
  5. /* Function to read a character to the screen using a DOS function.  */
  6. /*                                                                   */
  7. /* Written by L. Cuthbertson, March 1984.                            */
  8. /*                                                                   */
  9. /*********************************************************************/
  10. /*                                                                   */
  11. int readc()
  12. {
  13.     int bdos();
  14.  
  15.     return(bdos(8));
  16. }
  17.