(Was Re: SunOS4.1 compilation error)
[p5sagit/p5-mst-13.2.git] / cygwin32 / impure_ptr.c
CommitLineData
8736538c 1/*
2 * impure_ptr initialization routine. This is needed
3 * for any DLL that needs to output to the main (calling)
4 * executable's stdout, stderr, etc.
5 */
6
7struct _reent *_impure_ptr; /* this will be the Dlls local copy of impure ptr */
8
9/*********************************************
10 * Function to set our local (in this dll)
11 * copy of impure_ptr to the main's
12 * (calling executable's) impure_ptr
13 */
14void impure_setup(struct _reent *_impure_ptrMain){
15
16 _impure_ptr = _impure_ptrMain;
17
18}