First NIT release and new clean mercurial repository
[nit.git] / lib / standard / environ_prm.h
1 #ifndef __ENVIRON_H
2 #define __ENVIRON_H
3 /* This file is part of NIT ( http://www.nitlanguage.org ).
4 *
5 * Copyright 2008 Floréal Morandat <morandat@lirmm.fr>
6 *
7 * This file is free software, which comes along with NIT. This software is
8 * distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
9 * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
10 * PARTICULAR PURPOSE. You can modify it is you want, provided this header
11 * is kept unaltered, and a notification of the changes is added.
12 * You are allowed to redistribute it and sell it, alone or is a part of
13 * another product.
14 */
15
16 #define _POSIX_C_SOURCE 1
17 #include <stdlib.h>
18
19 #define string_NativeString_NativeString_get_environ_0(self) getenv(self)
20 #define string_NativeString_NativeString_put_environ_0(self) putenv(self)
21 #define string_NativeString_NativeString_unset_environ_0(self) unsetenv(self)
22 #define string_NativeString_NativeString_set_environ_2(self, p0, p1) setenv(self, p0, p1)
23
24 #endif