/***********************************************************************
* *
* This software is part of the ast package *
* Copyright (c) 1985-2010 AT&T Intellectual Property *
* and is licensed under the *
* Common Public License, Version 1.0 *
* by AT&T Intellectual Property *
* *
* A copy of the License is available at *
* (with md5 checksum 059e8cd6165cb4c31e351f2b69388fd9) *
* *
* Information and Software Systems Research *
* AT&T Research *
* Florham Park NJ *
* *
* Glenn Fowler <gsf@research.att.com> *
* David Korn <dgk@research.att.com> *
* Phong Vo <kpv@research.att.com> *
* *
***********************************************************************/
#pragma prototyped
#endif
#include "intercepts.h"
#endif
/*
* NOTE: the "intercepts" definition is here instead of astintercept.c because some
* static linkers miss lone references to "intercepts" without "astintercept()"
* ALSO: { 0 } definition required by some dynamic linkers averse to common symbols
* UWIN: no _ast_getenv macro map to maintain ast54 compatibility
*/
#if _BLD_3d
;
#else
= { 0 };
#endif
#include <windows.h>
extern char** environ;
static char*
{
register char** av;
register const char* cp;
register const char* sp;
register char c0;
register char c1;
return 0;
c1 = '=';
{
continue;
cp++;
continue;
return (char*)(cp+1);
}
return 0;
}
#endif
/*
* get name from the environment
*/
#if defined(__EXPORT__) && defined(getenv)
#define extern __EXPORT__
#endif
extern char*
{
static char* (*posix_getenv)(const char*);
if (!posix_getenv)
{
if (!posix_getenv)
}
#else
#endif
}