home *** CD-ROM | disk | FTP | other *** search
- /*
- pronet-flush.c
-
- This command flushes pronet.device
- `avail flush' has no effect at all.
-
- */
-
- #include <exec/execbase.h>
-
- #include <proto/exec.h>
-
- void __chkabort(void) {} /* Disable CTRL-C handling */
- ULONG __nocommandline = 0;
-
- char versiontag[] = "\0$VER: pronet-flush 36.0 (17.7.96)";
-
- int main()
- {
- struct Device *pdev;
-
- Forbid();
- if(pdev=(struct Device *)FindName(&SysBase->DeviceList,"pronet.device"))
- RemDevice(pdev);
- Permit();
-
- return(0);
- }
-