home *** CD-ROM | disk | FTP | other *** search
- #include <kernel.h>
-
- #include "os.h"
- #include "wimp.h"
-
- extern wimp_t Task_Handle;
-
- extern char My_Command [];
-
- /*This is a CMHG-style termination entry point.*/
-
- _kernel_oserror *main_terminate (bool fatal, int instance, void *workspace)
-
- { os_error *error = NULL, *error1;
-
- if (Task_Handle != 0)
- { error1 = xwimp_close_down (Task_Handle);
- if (error == NULL) error = error1;
- }
-
- return (_kernel_oserror *) error;
- }
-