home *** CD-ROM | disk | FTP | other *** search
- #include <exec/exec.h>
- #include <stdio.h>
- #include <stdlib.h>
- #include <dos/dos.h>
- #include <dos/dosextens.h>
- void LastCommand(void);
- void end(void);
- struct CommandLineInterface *temp=NULL;
-
- main(int argc,char *argv[])
- {
- Register(argv[1][0]-'0');
- temp=(struct CommandLineInterface *)Cli();
- if(temp)
- {
- sm("Yes there is a commandline interface for this door.",1);
- }
- else sm("Can't locate a commandline interface.",1);
-
- ShutDown();
- end();
- }
-
- void LastCommand(void)
- {
- }
- void end(void)
- {
- exit(0);
- }