Fixed compatibility of output.
[AROS.git] / compiler / posixc / posixc_environ.c
blobb59129dab356541b29a558dd0ab013ee50a03f58
1 /*
2 Copyright © 2012-2013, 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 __posixc_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 return __posixc_set_environptr(&environ);
22 ADD2INIT(__environ_init, 0)