home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / INFO / C / READWRIT.ZIP / READC.C < prev    next >
Encoding:
Text File  |  1988-07-26  |  896 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.