mirror of
https://github.com/reactos/reactos.git
synced 2024-11-01 04:11:30 +00:00
21a85d799e
svn path=/trunk/; revision=2647
28 lines
673 B
C
28 lines
673 B
C
/* $Id: init.c,v 1.1 2002/02/24 22:14:05 ea Exp $
|
|
*
|
|
* COPYRIGHT: See COPYING in the top level directory
|
|
* PROJECT: ReactOS POSIX+ Subsystem
|
|
* FILE: reactos/subsys/psx/lib/psxdll/misc/init.c
|
|
* PURPOSE: Client initialization
|
|
* PROGRAMMER: Emanuele Aliberti
|
|
* UPDATE HISTORY:
|
|
* 2001-05-06
|
|
*/
|
|
#define NTOS_MODE_USER
|
|
#include <ntos.h>
|
|
|
|
/* DLL GLOBALS */
|
|
int * errno = NULL;
|
|
char *** _environ = NULL;
|
|
/*
|
|
* Called by startup code in crt0.o, where real
|
|
* errno and _environ are actually defined.
|
|
*/
|
|
VOID STDCALL __PdxInitializeData (int * errno_arg, char *** environ_arg)
|
|
{
|
|
errno = errno_arg;
|
|
_environ = environ_arg;
|
|
}
|
|
/* EOF */
|
|
|