home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / listings / v_03_03 / 3n03062a < prev    next >
Text File  |  1992-01-29  |  406b  |  21 lines

  1. /*
  2.  * redirtst.c:
  3.  *
  4.  * Test redirection autodetection function.
  5.  * To compile with C version (Borland C++):
  6.  *
  7.  *      bcc redirtst.c redir.obj
  8.  *
  9.  * To compile with assembly language version (Borland C++):
  10.  *      tasm /mx redira
  11.  *      bcc redirtst.c redira.obj
  12.  */
  13.  
  14. unsigned char redir();
  15.  
  16. void main()
  17. {
  18.     printf("redir() returns (in hex): %02x\n", redir());
  19. }
  20. /* End of File */
  21.