home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-385-Vol-1of3.iso / c / croutes.zip / WRITEC.C < prev    next >
Text File  |  1984-06-25  |  818b  |  19 lines

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