sciquit.h File Reference

#include <stdio.h>
#include <string.h>
#include "machine.h"
#include "stack-c.h"
#include "version.h"

Include dependency graph for sciquit.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

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


Function Documentation

int ExitScilab ( void   ) 

TODO : comment

Returns:

Definition at line 24 of file sciquit.c.

Referenced by Console_Main(), Java_javasci_Scilab_Finish(), sciquit(), TerminateScilab(), and Windows_Main().

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 caller 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.

Referenced by ExitWindow(), realmain(), run(), and sci_clear_and_exit().

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

Here is the caller graph for this function:


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