summaryrefslogtreecommitdiff
path: root/modules/io/includes/setenvc.h
diff options
context:
space:
mode:
Diffstat (limited to 'modules/io/includes/setenvc.h')
-rwxr-xr-xmodules/io/includes/setenvc.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/modules/io/includes/setenvc.h b/modules/io/includes/setenvc.h
new file mode 100755
index 000000000..101e9e0df
--- /dev/null
+++ b/modules/io/includes/setenvc.h
@@ -0,0 +1,27 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007 - INRIA - Sylvestre LEDRU
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ */
+
+#ifndef __SETENVC_H__
+#define __SETENVC_H__
+#include "dynlib_io.h"
+#include "BOOL.h"
+
+/**
+ * Set in the system environment a variable to a value
+ * @param[in] string the name of the variable
+ * @param[in] value the value of the variable "string"
+ * @return FALSE if there is a problem otherwise TRUE
+ */
+IO_IMPEXP BOOL setenvc(const char *string, const char *value);
+
+#endif /* __SETENVC_H__ */
+/*--------------------------------------------------------------------------*/