Category : C Source Code
Archive   : TC130.ZIP
Filename : STUFF.DOC

 
Output of file : STUFF.DOC contained in archive : TC130.ZIP




NAME
stuff -- get equipment report (high level)

SYNOPSIS
r = _stuff(kind);
int r; result of test
int kind; kind of equipment to test for


DESCRIPTION
This function calls _stuff() and checks the appropriate
bits returned depending upon the kind of information
requested. Kind is one of the following:
0 = initial video mode
mode 0, 2, or 7 returned
1 = number of disk drives
2 = number of printers
3 = number of serial ports
4 = joystick installed


EXAMPLE

int r;
r = stuff(0);
if(r == 7) printf("Monochrome card installed");







This function is found in SMTCx.LIB for the Turbo-C Compiler


  3 Responses to “Category : C Source Code
Archive   : TC130.ZIP
Filename : STUFF.DOC

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/