Scicos tests: fix scicos.tst to load Scicos libs correctly
[scilab.git] / scilab / modules / core / src / c / exitCodeValue.c
1 /*
2 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3 * Copyright (C) 2010 - DIGITEO - Allan CORNET
4 *
5 * This file must be used under the terms of the CeCILL.
6 * This source file is licensed as described in the file COPYING, which
7 * you should have received as part of this distribution.  The terms
8 * are also available at
9 * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
10 *
11 */
12 /*--------------------------------------------------------------------------*/
13 #include "exitCodeValue.h"
14 /*--------------------------------------------------------------------------*/
15 static int exitCodeValue = 0;
16 /*--------------------------------------------------------------------------*/
17 void setExitCodeValue(int _exitcode)
18 {
19     exitCodeValue = _exitcode;
20 }
21 /*--------------------------------------------------------------------------*/
22 int getExitCodeValue(void)
23 {
24     return exitCodeValue;
25 }
26 /*--------------------------------------------------------------------------*/