/* Generated with C2C (Cedar To C)*/ /* Copyright (C) 1993 by Xerox Corporation. All rights reserved. */ /* time: January 19, 1993 12:22:22 pm PST */ /* C2C version: October 7, 1992 (native) */ /* ref-counting: off */ /* file: UnixEnvironImpl, module: UnixEnvironImpl */ /* switches: bcfhklnouw */ #include #include static char versionStamp[] = "@(#)mob_version [4150751497,1833347657] UnixEnvironImpl"; typedef unsigned word, *ptr; typedef unsigned char byte, *bPt; typedef unsigned short half, *hPt; typedef word (*fPt)(); #define SOURCE(p, l) /* source p, l */ static void NoName_Q120(); static void UnixEnvironImpl_P0(); static word GetEnv_P60(); static struct {unsigned f; char r[16];} string1 = {851984, "\257\300\367\147\161\011\300\155\106\252\111\100\164\000\000"}; static struct {unsigned f; char r[16];} string2 = {851984, "\257\300\220\270\074\115\300\121\012\115\357\100\150\000\000"}; static struct {unsigned f; char r[16];} string3 = {851984, "\257\300\322\342\022\352\300\100\014\165\000\100\150\000\000"}; static struct { word f0[4]; word f4; word f5; word f6; word f7[3]; } globalframe = { {0}, (word) GetEnv_P60, 0, (word) UnixEnvironImpl_P0, {0} }; static void NoName_Q120() { register ptr gf_c012 = (ptr) &globalframe; word var_c3828; (void) XR_DeclareGlobalFrame((word) "UnixEnvironImpl", &globalframe, (word) XR_GetTypeIndexS((word) (&string1)), (word) ( ( (bPt) gf_c012)+24)/* var_c3668 */ ); var_c3828 = (word) XR_ImportInterface((word) "UXStrings", (word) XR_GetTypeIndexS((word) (&string2)), 9); (* (( (ptr) gf_c012)+8)/* var_c3796 */ ) = var_c3828; (void) XR_ImportProcS(var_c3828, 67371265); (void) XR_ImportProcS(var_c3828, 67633922); var_c3828 = (word) XR_ExportInterface((word) "UnixEnviron", (word) XR_GetTypeIndexS((word) (&string3)), 1); (* (( (ptr) gf_c012)+9)/* var_c3860 */ ) = var_c3828; (void) XR_ExportProcS(var_c3828, (word) (( (bPt) gf_c012)+16)/* var_c3636 */ , 67371009); } static void UnixEnvironImpl_P0(formal_c07, formal_c06) word formal_c07; word formal_c06; { /* UnixEnvironImpl: */ } static word GetEnv_P60(name_v2688) word name_v2688; { register ptr gf_c3892 = (ptr) &globalframe; word value_v2732; /* GetEnv: */ SOURCE(213, 130) SOURCE(213, 130) value_v2732 = 0; SOURCE(276, 67) { word var_c3764; word var_c3732; { word pd4; pd4 = (* (( (ptr) (* (( (ptr) gf_c3892)+8)/* var_c3796 */ ))+5) ); var_c3764 = (word) ( *( (fPt) ((* (ptr) pd4 ))))(name_v2688, pd4); }; var_c3732 = (word) XR_getenv(var_c3764); { word pd5; pd5 = (* (( (ptr) (* (( (ptr) gf_c3892)+8)/* var_c3796 */ ))+7) ); return((word) ( *( (fPt) ((* (ptr) pd5 ))))(var_c3732, 2147483647, pd5)); }; }; } /* file: UnixEnvironImpl, module: UnixEnvironImpl, compiled at: January 19, 1993 12:22:21 pm PST */ extern void XR_install_UnixEnvironImpl() { NoName_Q120(); } extern void XR_run_UnixEnvironImpl() { XR_Start(&globalframe); }