sciquit.c File Reference

#include "sciquit.h"
#include "TerminateCore.h"
#include "../../../graphics/includes/TerminateGraphics.h"
#include "../../../gui/includes/TerminateGui.h"
#include "../../../localization/includes/TerminateLocalization.h"

Include dependency graph for sciquit.c:

Go to the source code of this file.

Functions

int ExitScilab (void)
int C2F() sciquit (void)
void sci_exit (int n)


Function Documentation

int ExitScilab ( void   ) 

TODO : comment

Returns:

Definition at line 24 of file sciquit.c.

References TerminateCorePart1(), TerminateCorePart2(), TerminateGraphics(), TerminateGUI(), TerminateJVMs(), TerminateLocalization(), and TerminateTclTk().

00025 {
00026         TerminateCorePart1();
00027 
00028         TerminateGraphics();
00029 
00030         TerminateGUI();
00031   
00032         #ifdef WITH_TK
00033         TerminateTclTk();
00034         #endif
00035 
00036         #ifdef _MSC_VER
00037         TerminateJVMs();
00038         #endif
00039 
00040         TerminateLocalization();
00041 
00042         TerminateCorePart2();
00043 
00044         return 0;
00045 }

Here is the call graph for this function:

void sci_exit ( int  n  ) 

TODO : comment

Parameters:
n 

Definition at line 55 of file sciquit.c.

References mode, and out().

Referenced by realmain(), sciquit(), and VTRun().

00056 {
00057   /* really exit */
00058   #ifdef sun 
00059                 #ifndef SYSV
00060         {
00061         char *mode, **out, *in;
00062         ieee_flags("clearall","exeption","all", &out);
00063         }
00064                 #endif 
00065   #endif 
00066   exit(n);
00067 }

Here is the call graph for this function:

Here is the caller graph for this function:

int C2F() sciquit ( void   ) 

TODO : comment

Returns:

Definition at line 47 of file sciquit.c.

00048 {
00049         int status = 0;
00050         ExitScilab();
00051         sci_exit(status) ;
00052         return 0;
00053 }


Generated on Sun Mar 4 15:16:36 2007 for Scilab [trunk] by  doxygen 1.5.1