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 >
Wrap
Text File
|
1992-01-29
|
406b
|
21 lines
/*
* redirtst.c:
*
* Test redirection autodetection function.
* To compile with C version (Borland C++):
*
* bcc redirtst.c redir.obj
*
* To compile with assembly language version (Borland C++):
* tasm /mx redira
* bcc redirtst.c redira.obj
*/
unsigned char redir();
void main()
{
printf("redir() returns (in hex): %02x\n", redir());
}
/* End of File */