home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
402.lha
/
starburst
/
starburst.c
< prev
next >
Wrap
C/C++ Source or Header
|
1990-07-27
|
438b
|
26 lines
/** starburst.c
*
* Toggles the bit that controls whether asterisk wildcards are allowed
* or not. Thanks to Randall jesup!
*
* W.G.J. Langeveld, July 1990.
*
**/
#include <exec/types.h>
#include <dos/dos.h>
#include <dos/dosextens.h>
struct DosLibrary *lib, *OpenLibrary();
main()
{
lib = OpenLibrary("dos.library", 0L);
((struct RootNode *) (lib->dl_Root))->rn_Flags ^= 0x01000000;
CloseLibrary(lib);
exit(0);
}