da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin/***********************************************************************
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin* This software is part of the ast package *
3e14f97f673e8a630f076077de35afdd43dc1587Roger A. Faulkner* Copyright (c) 1985-2010 AT&T Intellectual Property *
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin* and is licensed under the *
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin* Common Public License, Version 1.0 *
7c2fbfb345896881c631598ee3852ce9ce33fb07April Chin* by AT&T Intellectual Property *
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin* A copy of the License is available at *
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin* (with md5 checksum 059e8cd6165cb4c31e351f2b69388fd9) *
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin* Information and Software Systems Research *
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin* AT&T Research *
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin* Florham Park NJ *
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin* Glenn Fowler <gsf@research.att.com> *
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin* David Korn <dgk@research.att.com> *
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin* Phong Vo <kpv@research.att.com> *
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin***********************************************************************/
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * some systems may pull in <ast_common.h> and its <ast_map.h>
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * which we are in the process of generating ... this prevents it
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin printf(" * prototypes provided for standard interfaces hijacked\n");
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin printf(" * by ast and mapped to _ast_* but already prototyped\n");
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin printf(" * unmapped in native headers included by <ast_std.h>\n");
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin printf("/* mvs.390 libc.dll routines can't be intercepted by user dlls */\n");
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin printf("extern int execvpe(const char*, char* const[], char* const[]);\n");
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#if _lib_getopt || _lib_getsubopt || _lib_getopt_long || _lib_getopt_long_only
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin printf("#define getopt_long_only _ast_getopt_long_only\n");
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin printf("extern char* realpath(const char*, char*);\n");
7c2fbfb345896881c631598ee3852ce9ce33fb07April Chin printf("extern int resolvepath(const char*, char*, size_t);\n");
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin printf("extern int setenv(const char*, const char*, int);\n");
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin printf("extern size_t strlcat(char*, const char*, size_t);\n");
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin printf("extern size_t strlcpy(char*, const char*, size_t);\n");
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin printf("extern char* tempnam(const char*, const char*);\n");
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * overriding <stdlib.h> strto*() is problematic to say the least
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin printf("extern long strtol(const char*, char**, int);\n");
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin printf("extern unsigned long strtoul(const char*, char**, int);\n");
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin printf("extern double strtod(const char*, char**);\n");
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin printf("extern _ast_fltmax_t strtold(const char*, char**);\n");
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin printf("extern _ast_intmax_t strtoll(const char*, char**, int);\n");
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin printf("extern unsigned _ast_intmax_t strtoull(const char*, char**, int);\n");