fix config file path
[AROS.git] / compiler / clib / arosc_environ.c
blob12cd50616920b525170313faff29410de8e3fe55
1 /*
2 Copyright © 2012, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: Code enabling environ emulation mode for user programs.
6 This code is part of the static link library of arosc.
7 When programs do not access this variable environ emulation
8 won't be enable.
9 See __arosc_set_environptr() autodoc for more information.
12 #include <aros/symbolsets.h>
13 #include <unistd.h>
15 char **environ;
17 static int __environ_init(struct ExecBase *SysBase)
19 __arosc_set_environptr(&environ);
21 return 1;
24 ADD2INIT(__environ_init, 0)