Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 24 lines (17 sloc) 0.615 kb
e8832eb Duncan Coutts Emit various bits of OS process info into the eventlog
dcoutts authored
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 */
Something went wrong with that request. Please try again.