home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 402.lha / starburst / starburst.c < prev    next >
C/C++ Source or Header  |  1990-07-27  |  438b  |  26 lines

  1. /** starburst.c
  2. *
  3. *   Toggles the bit that controls whether asterisk wildcards are allowed
  4. *   or not. Thanks to Randall jesup!
  5. *
  6. *   W.G.J. Langeveld, July 1990.
  7. *
  8. **/
  9. #include <exec/types.h>
  10. #include <dos/dos.h>
  11. #include <dos/dosextens.h>
  12.  
  13. struct DosLibrary *lib, *OpenLibrary();
  14.  
  15. main()
  16. {
  17.    lib = OpenLibrary("dos.library", 0L);
  18.  
  19.    ((struct RootNode *) (lib->dl_Root))->rn_Flags ^= 0x01000000;
  20.  
  21.    CloseLibrary(lib);
  22.  
  23.    exit(0);
  24. }
  25.  
  26.