CmmLayoutStack: Add unwind information on stack fixups
[ghc.git] / rts / GetEnv.h
1 /* -----------------------------------------------------------------------------
2 *
3 * (c) The GHC Team 2011
4 *
5 * OS-independent interface to the process environment variables
6 *
7 * ---------------------------------------------------------------------------*/
8
9 #ifndef GETENV_H
10 #define GETENV_H
11
12 #include "BeginPrivate.h"
13
14 /* Get the process environment vector (same style interface as argc/argv)
15 */
16 void getProgEnvv (int *out_envc, char **out_envv[]);
17 void freeProgEnvv (int envc, char *envv[]);
18
19 /* calls to getProgEnvv must have a corresponding freeProgEnvv */
20
21 #include "EndPrivate.h"
22
23 #endif /* GETENV_H */