1da2e3ebchin
2da2e3ebchin/* : : generated by proto : : */
33e14f97Roger A. Faulkner/* : : generated from /home/gisburn/ksh93/ast_ksh_20100309/build_i386_64bit/src/lib/libast/features/map.c by iffe version 2009-12-04 : : */
4da2e3ebchin#ifndef _def_map_ast
5da2e3ebchin#if !defined(__PROTO__)
6da2e3ebchin#  if defined(__STDC__) || defined(__cplusplus) || defined(_proto) || defined(c_plusplus)
7da2e3ebchin#    if defined(__cplusplus)
8da2e3ebchin#      define __LINKAGE__	"C"
9da2e3ebchin#    else
10da2e3ebchin#      define __LINKAGE__
11da2e3ebchin#    endif
12da2e3ebchin#    define __STDARG__
13da2e3ebchin#    define __PROTO__(x)	x
14da2e3ebchin#    define __OTORP__(x)
15da2e3ebchin#    define __PARAM__(n,o)	n
16da2e3ebchin#    if !defined(__STDC__) && !defined(__cplusplus)
17da2e3ebchin#      if !defined(c_plusplus)
18da2e3ebchin#      	define const
19da2e3ebchin#      endif
20da2e3ebchin#      define signed
21da2e3ebchin#      define void		int
22da2e3ebchin#      define volatile
23da2e3ebchin#      define __V_		char
24da2e3ebchin#    else
25da2e3ebchin#      define __V_		void
26da2e3ebchin#    endif
27da2e3ebchin#  else
28da2e3ebchin#    define __PROTO__(x)	()
29da2e3ebchin#    define __OTORP__(x)	x
30da2e3ebchin#    define __PARAM__(n,o)	o
31da2e3ebchin#    define __LINKAGE__
32da2e3ebchin#    define __V_		char
33da2e3ebchin#    define const
34da2e3ebchin#    define signed
35da2e3ebchin#    define void		int
36da2e3ebchin#    define volatile
37da2e3ebchin#  endif
38da2e3ebchin#  define __MANGLE__	__LINKAGE__
39da2e3ebchin#  if defined(__cplusplus) || defined(c_plusplus)
40da2e3ebchin#    define __VARARG__	...
41da2e3ebchin#  else
42da2e3ebchin#    define __VARARG__
43da2e3ebchin#  endif
44da2e3ebchin#  if defined(__STDARG__)
45da2e3ebchin#    define __VA_START__(p,a)	va_start(p,a)
46da2e3ebchin#  else
47da2e3ebchin#    define __VA_START__(p,a)	va_start(p)
48da2e3ebchin#  endif
49da2e3ebchin#  if !defined(__INLINE__)
50da2e3ebchin#    if defined(__cplusplus)
51da2e3ebchin#      define __INLINE__	extern __MANGLE__ inline
52da2e3ebchin#    else
53da2e3ebchin#      if defined(_WIN32) && !defined(__GNUC__)
54da2e3ebchin#      	define __INLINE__	__inline
55da2e3ebchin#      endif
56da2e3ebchin#    endif
57da2e3ebchin#  endif
58da2e3ebchin#endif
59da2e3ebchin#if !defined(__LINKAGE__)
60da2e3ebchin#define __LINKAGE__		/* 2004-08-11 transition */
61da2e3ebchin#endif
62da2e3ebchin
63da2e3ebchin#define _def_map_ast	1
64da2e3ebchin#define _sys_types	1	/* #include <sys/types.h> ok */
65da2e3ebchin
66da2e3ebchin
67da2e3ebchin/*
68da2e3ebchin * prototypes provided for standard interfaces hijacked
69da2e3ebchin * by ast and mapped to _ast_* but already prototyped
70da2e3ebchin * unmapped in native headers included by <ast_std.h>
71da2e3ebchin */
72da2e3ebchin
73da2e3ebchin#if _BLD_ast && defined(__EXPORT__)
74da2e3ebchin#undef __MANGLE__
75da2e3ebchin#define __MANGLE__ __LINKAGE__		__EXPORT__
76da2e3ebchin#endif
77da2e3ebchin
78da2e3ebchin
79da2e3ebchin#define	_map_libc	1
80da2e3ebchin#undef	basename
81da2e3ebchin#define basename	_ast_basename
82da2e3ebchin#undef	dirname
83da2e3ebchin#define dirname		_ast_dirname
84da2e3ebchin#undef	eaccess
85da2e3ebchin#define eaccess		_ast_eaccess
86da2e3ebchin#undef	execvpe
87da2e3ebchin#define execvpe		_ast_execvpe
88da2e3ebchinextern __MANGLE__ int		execvpe __PROTO__((const char*, char* const[], char* const[]));
89da2e3ebchin#undef	fnmatch
90da2e3ebchin#define fnmatch		_ast_fnmatch
91da2e3ebchin#undef	fts_children
92da2e3ebchin#define fts_children    _ast_fts_children
93da2e3ebchin#undef	fts_close
94da2e3ebchin#define fts_close       _ast_fts_close
95da2e3ebchin#undef	fts_flags
96da2e3ebchin#define fts_flags       _ast_fts_flags
97da2e3ebchin#undef	fts_notify
98da2e3ebchin#define fts_notify      _ast_fts_notify
99da2e3ebchin#undef	fts_open
100da2e3ebchin#define fts_open	_ast_fts_open
101da2e3ebchin#undef	fts_read
102da2e3ebchin#define fts_read	_ast_fts_read
103da2e3ebchin#undef	fts_set
104da2e3ebchin#define fts_set		_ast_fts_set
105da2e3ebchin#undef	ftw
106da2e3ebchin#define ftw		_ast_ftw
107da2e3ebchin#undef	ftwalk
108da2e3ebchin#define ftwalk		_ast_ftwalk
109da2e3ebchin#undef	ftwflags
110da2e3ebchin#define ftwflags	_ast_ftwflags
111da2e3ebchin#undef	getcwd
112da2e3ebchin#define getcwd		_ast_getcwd
113da2e3ebchinextern __MANGLE__ char*		getcwd __PROTO__((char*, size_t));
114da2e3ebchin#undef	getdate
115da2e3ebchin#define getdate		_ast_getdate
116da2e3ebchin#undef	getopt
117da2e3ebchin#define getopt		_ast_getopt
118da2e3ebchin#undef	getsubopt
119da2e3ebchin#define getsubopt       _ast_getsubopt
120da2e3ebchin#undef	getopt_long
121da2e3ebchin#define getopt_long	_ast_getopt_long
122da2e3ebchin#undef	getopt_long_only
123da2e3ebchin#define getopt_long_only _ast_getopt_long_only
1247c2fbfbApril Chin#undef	optopt
1257c2fbfbApril Chin#define optopt		_ast_optopt
1267c2fbfbApril Chin#undef	optarg
1277c2fbfbApril Chin#define optarg		_ast_optarg
1287c2fbfbApril Chin#undef	optind
1297c2fbfbApril Chin#define optind		_ast_optind
1307c2fbfbApril Chin#undef	opterr
1317c2fbfbApril Chin#define opterr		_ast_opterr
132da2e3ebchin#undef	getwd
133da2e3ebchin#define getwd		_ast_getwd
134da2e3ebchinextern __MANGLE__ char*		getwd __PROTO__((char*));
135da2e3ebchin#undef	glob
136da2e3ebchin#define glob		_ast_glob
137da2e3ebchin#undef	globfree
138da2e3ebchin#define globfree	_ast_globfree
139da2e3ebchin#undef	memdup
140da2e3ebchin#define memdup		_ast_memdup
141da2e3ebchin#undef	memfatal
142da2e3ebchin#define memfatal	_ast_memfatal
143da2e3ebchin#undef	memhash
144da2e3ebchin#define memhash		_ast_memhash
145da2e3ebchin#undef	memsum
146da2e3ebchin#define memsum		_ast_memsum
147da2e3ebchin#undef	mkstemp
148da2e3ebchin#define mkstemp		_ast_mkstemp
149da2e3ebchinextern __MANGLE__ int		mkstemp __PROTO__((char*));
150da2e3ebchin#undef	mktemp
151da2e3ebchin#define mktemp		_ast_mktemp
152da2e3ebchinextern __MANGLE__ char*		mktemp __PROTO__((char*));
153da2e3ebchin#undef	mktime
154da2e3ebchin#define mktime		_ast_mktime
155da2e3ebchin#undef	nftw
156da2e3ebchin#define nftw		_ast_nftw
1577c2fbfbApril Chin#undef	optctx
1587c2fbfbApril Chin#define optctx		_ast_optctx
159da2e3ebchin#undef	optesc
160da2e3ebchin#define optesc		_ast_optesc
161da2e3ebchin#undef	optget
162da2e3ebchin#define optget		_ast_optget
163da2e3ebchin#undef	opthelp
164da2e3ebchin#define opthelp		_ast_opthelp
165da2e3ebchin#undef	optjoin
166da2e3ebchin#define optjoin		_ast_optjoin
167da2e3ebchin#undef	optstr
168da2e3ebchin#define optstr		_ast_optstr
169da2e3ebchin#undef	optusage
170da2e3ebchin#define optusage	_ast_optusage
171da2e3ebchin#undef	pathaccess
172da2e3ebchin#define pathaccess	_ast_pathaccess
173da2e3ebchin#undef	pathbin
174da2e3ebchin#define pathbin		_ast_pathbin
175da2e3ebchin#undef	pathcanon
176da2e3ebchin#define pathcanon	_ast_pathcanon
177da2e3ebchin#undef	pathcat
178da2e3ebchin#define pathcat		_ast_pathcat
179da2e3ebchin#undef	pathcd
180da2e3ebchin#define pathcd		_ast_pathcd
181da2e3ebchin#undef	pathcheck
182da2e3ebchin#define pathcheck	_ast_pathcheck
183da2e3ebchin#undef	pathexists
184da2e3ebchin#define pathexists	_ast_pathexists
185da2e3ebchin#undef	pathfind
186da2e3ebchin#define pathfind	_ast_pathfind
187da2e3ebchin#undef	pathgetlink
188da2e3ebchin#define pathgetlink	_ast_pathgetlink
189da2e3ebchin#undef	pathinclude
190da2e3ebchin#define pathinclude	_ast_pathinclude
191da2e3ebchin#undef	pathkey
192da2e3ebchin#define pathkey		_ast_pathkey
193da2e3ebchin#undef	pathnative
194da2e3ebchin#define pathnative	_ast_pathnative
195da2e3ebchin#undef	pathpath
196da2e3ebchin#define pathpath	_ast_pathpath
197da2e3ebchin#undef	pathposix
198da2e3ebchin#define pathposix	_ast_pathposix
199da2e3ebchin#undef	pathprobe
200da2e3ebchin#define pathprobe	_ast_pathprobe
20134f9b3eRoland Mainz#undef	pathprog
20234f9b3eRoland Mainz#define pathprog	_ast_pathprog
203da2e3ebchin#undef	pathrepl
204da2e3ebchin#define pathrepl	_ast_pathrepl
205da2e3ebchin#undef	pathsetlink
206da2e3ebchin#define pathsetlink	_ast_pathsetlink
207da2e3ebchin#undef	pathshell
208da2e3ebchin#define pathshell	_ast_pathshell
209da2e3ebchin#undef	pathstat
210da2e3ebchin#define pathstat	_ast_pathstat
211da2e3ebchin#undef	pathtemp
212da2e3ebchin#define pathtemp	_ast_pathtemp
213da2e3ebchin#undef	pathtmp
214da2e3ebchin#define pathtmp		_ast_pathtmp
215da2e3ebchin#undef	procclose
216da2e3ebchin#define procclose	_ast_procclose
217da2e3ebchin#undef	procfree
218da2e3ebchin#define procfree	_ast_procfree
219da2e3ebchin#undef	procopen
220da2e3ebchin#define procopen	_ast_procopen
221da2e3ebchin#undef	procrun
222da2e3ebchin#define procrun		_ast_procrun
223da2e3ebchin#undef	putenv
224da2e3ebchin#define putenv		_ast_putenv
225da2e3ebchin#undef	re_comp
226da2e3ebchin#define re_comp		_ast_re_comp
227da2e3ebchin#undef	re_exec
228da2e3ebchin#define re_exec		_ast_re_exec
229da2e3ebchin#undef	realpath
230da2e3ebchin#define realpath	_ast_realpath
231da2e3ebchinextern __MANGLE__ char*		realpath __PROTO__((const char*, char*));
232da2e3ebchin#undef	regaddclass
233da2e3ebchin#define regaddclass	_ast_regaddclass
234da2e3ebchin#undef	regalloc
235da2e3ebchin#define regalloc	_ast_regalloc
236da2e3ebchin#undef	regcache
237da2e3ebchin#define regcache	_ast_regcache
238da2e3ebchin#undef	regclass
239da2e3ebchin#define regclass	_ast_regclass
240da2e3ebchin#undef	regcmp
241da2e3ebchin#define regcmp		_ast_regcmp
242da2e3ebchin#undef	regcollate
243da2e3ebchin#define regcollate      _ast_regcollate
244da2e3ebchin#undef	regcomb
245da2e3ebchin#define regcomb		_ast_regcomb
246da2e3ebchin#undef	regcomp
247da2e3ebchin#define regcomp		_ast_regcomp
248da2e3ebchin#undef	regdecomp
249da2e3ebchin#define regdecomp	_ast_regdecomp
250da2e3ebchin#undef	regdup
251da2e3ebchin#define regdup		_ast_regdup
252da2e3ebchin#undef	regerror
253da2e3ebchin#define regerror	_ast_regerror
254da2e3ebchin#undef	regex
255da2e3ebchin#define regex		_ast_regex
256da2e3ebchin#undef	regexec
257da2e3ebchin#define regexec		_ast_regexec
258da2e3ebchin#undef	regfatal
259da2e3ebchin#define regfatal	_ast_regfatal
260da2e3ebchin#undef	regfatalpat
261da2e3ebchin#define regfatalpat     _ast_regfatalpat
262da2e3ebchin#undef	regfree
263da2e3ebchin#define regfree		_ast_regfree
264da2e3ebchin#undef	regncomp
265da2e3ebchin#define regncomp	_ast_regncomp
266da2e3ebchin#undef	regnexec
267da2e3ebchin#define regnexec	_ast_regnexec
268da2e3ebchin#undef	regrecord
269da2e3ebchin#define regrecord       _ast_regrecord
270da2e3ebchin#undef	regrexec
271da2e3ebchin#define regrexec	_ast_regrexec
272da2e3ebchin#undef	regstat
273da2e3ebchin#define regstat		_ast_regstat
274da2e3ebchin#undef	regsub
275da2e3ebchin#define regsub		_ast_regsub
276da2e3ebchin#undef	regsubcomp
277da2e3ebchin#define regsubcomp	_ast_regsubcomp
278da2e3ebchin#undef	regsubexec
279da2e3ebchin#define regsubexec	_ast_regsubexec
280da2e3ebchin#undef	regsubflags
281da2e3ebchin#define regsubflags	_ast_regsubflags
282da2e3ebchin#undef	regsubfree
283da2e3ebchin#define regsubfree	_ast_regsubfree
284da2e3ebchin#undef	remove
285da2e3ebchin#define remove		_ast_remove
286da2e3ebchinextern __MANGLE__ int		remove __PROTO__((const char*));
287da2e3ebchin#undef	resolvepath
288da2e3ebchin#define resolvepath	_ast_resolvepath
2897c2fbfbApril Chinextern __MANGLE__ int		resolvepath __PROTO__((const char*, char*, size_t));
290da2e3ebchin#undef	setenv
291da2e3ebchin#define setenv		_ast_setenv
292da2e3ebchinextern __MANGLE__ int		setenv __PROTO__((const char*, const char*, int));
293da2e3ebchin#undef	setenviron
294da2e3ebchin#define setenviron      _ast_setenviron
295da2e3ebchin#undef	sigcritical
296da2e3ebchin#define sigcritical      _ast_sigcritical
297da2e3ebchin#undef	signal
298da2e3ebchin#define signal      	_ast_signal
299da2e3ebchin#undef	sigunblock
300da2e3ebchin#define sigunblock      _ast_sigunblock
301da2e3ebchin#undef	stracmp
302da2e3ebchin#define stracmp		_ast_stracmp
303da2e3ebchin#undef	strcopy
304da2e3ebchin#define strcopy		_ast_strcopy
305da2e3ebchin#undef	strelapsed
306da2e3ebchin#define strelapsed	_ast_strelapsed
307da2e3ebchin#undef	stresc
308da2e3ebchin#define stresc		_ast_stresc
309da2e3ebchin#undef	streval
310da2e3ebchin#define streval		_ast_streval
311da2e3ebchin#undef	strexpr
312da2e3ebchin#define strexpr		_ast_strexpr
313da2e3ebchin#undef	strftime
314da2e3ebchin#define strftime	_ast_strftime
315da2e3ebchin#undef	strgid
316da2e3ebchin#define strgid		_ast_strgid
317da2e3ebchin#undef	strgrpmatch
318da2e3ebchin#define strgrpmatch	_ast_strgrpmatch
319da2e3ebchin#undef	strhash
320da2e3ebchin#define strhash		_ast_strhash
321da2e3ebchin#undef	strkey
322da2e3ebchin#define strkey		_ast_strkey
323da2e3ebchin#undef	strlcat
324da2e3ebchin#define strlcat		_ast_strlcat
325da2e3ebchinextern __MANGLE__ size_t		strlcat __PROTO__((char*, const char*, size_t));
326da2e3ebchin#undef	strlcpy
327da2e3ebchin#define strlcpy		_ast_strlcpy
328da2e3ebchinextern __MANGLE__ size_t		strlcpy __PROTO__((char*, const char*, size_t));
329da2e3ebchin#undef	strlook
330da2e3ebchin#define strlook		_ast_strlook
331da2e3ebchin#undef	strmatch
332da2e3ebchin#define strmatch	_ast_strmatch
333da2e3ebchin#undef	strmode
334da2e3ebchin#define strmode		_ast_strmode
335da2e3ebchin#undef	strnacmp
336da2e3ebchin#define strnacmp	_ast_strnacmp
337da2e3ebchin#undef	strncopy
338da2e3ebchin#define strncopy	_ast_strncopy
339da2e3ebchin#undef	strntod
340da2e3ebchin#define strntod		_ast_strntod
341da2e3ebchin#undef	strntol
342da2e3ebchin#define strntol		_ast_strntol
343da2e3ebchin#undef	strntold
344da2e3ebchin#define strntold	_ast_strntold
345da2e3ebchin#undef	strntoll
346da2e3ebchin#define strntoll	_ast_strntoll
347da2e3ebchin#undef	strntoul
348da2e3ebchin#define strntoul	_ast_strntoul
349da2e3ebchin#undef	strntoull
350da2e3ebchin#define strntoull	_ast_strntoull
351da2e3ebchin#undef	stropt
352da2e3ebchin#define stropt		_ast_stropt
353da2e3ebchin#undef	strperm
354da2e3ebchin#define strperm		_ast_strperm
355da2e3ebchin#undef	strpsearch
356da2e3ebchin#define strpsearch	_ast_strpsearch
357da2e3ebchin#undef	strptime
358da2e3ebchin#define strptime	_ast_strptime
359da2e3ebchin#undef	strsearch
360da2e3ebchin#define strsearch	_ast_strsearch
361da2e3ebchin#undef	strsort
362da2e3ebchin#define strsort		_ast_strsort
363da2e3ebchin#undef	strsubmatch
364da2e3ebchin#define strsubmatch	_ast_strsubmatch
365da2e3ebchin#undef	strsum
366da2e3ebchin#define strsum		_ast_strsum
367da2e3ebchin#undef	strtape
368da2e3ebchin#define strtape		_ast_strtape
369da2e3ebchin#undef	strtoip4
370da2e3ebchin#define strtoip4	_ast_strtoip4
371da2e3ebchin#undef	strton
372da2e3ebchin#define strton		_ast_strton
373da2e3ebchin#undef	strtonll
374da2e3ebchin#define strtonll	_ast_strtonll
375da2e3ebchin#undef	struid
376da2e3ebchin#define struid		_ast_struid
377da2e3ebchin#undef	struniq
378da2e3ebchin#define struniq		_ast_struniq
379da2e3ebchin#undef	system
380da2e3ebchin#define system		_ast_system
381da2e3ebchinextern __MANGLE__ int		system __PROTO__((const char*));
382da2e3ebchin#undef	tempnam
383da2e3ebchin#define tempnam		_ast_tempnam
384da2e3ebchinextern __MANGLE__ char*		tempnam __PROTO__((const char*, const char*));
385da2e3ebchin#undef	tmpnam
386da2e3ebchin#define tmpnam		_ast_tmpnam
387da2e3ebchinextern __MANGLE__ char*		tmpnam __PROTO__((char*));
388da2e3ebchin#undef	touch
389da2e3ebchin#define touch		_ast_touch
390da2e3ebchin#undef	wordexp
391da2e3ebchin#define wordexp		_ast_wordexp
392da2e3ebchin#undef	wordfree
393da2e3ebchin#define wordfree	_ast_wordfree
394da2e3ebchin#undef	unsetenv
395da2e3ebchin#define unsetenv	_ast_unsetenv
396da2e3ebchin
397da2e3ebchin/* cannot override local malloc */
398da2e3ebchin#define	_map_malloc	1
399da2e3ebchin#undef	calloc
400da2e3ebchin#define calloc		_ast_calloc
401da2e3ebchinextern __MANGLE__ __V_*		calloc __PROTO__((size_t, size_t));
402da2e3ebchin#undef	cfree
403da2e3ebchin#define cfree		_ast_cfree
404da2e3ebchinextern __MANGLE__ void		cfree __PROTO__((__V_*));
405da2e3ebchin#undef	free
406da2e3ebchin#define free		_ast_free
407da2e3ebchinextern __MANGLE__ void		free __PROTO__((__V_*));
408da2e3ebchin#undef	malloc
409da2e3ebchin#define malloc		_ast_malloc
410da2e3ebchinextern __MANGLE__ __V_*		malloc __PROTO__((size_t));
411da2e3ebchin#undef	memalign
412da2e3ebchin#define memalign	_ast_memalign
413da2e3ebchinextern __MANGLE__ __V_*		memalign __PROTO__((size_t, size_t));
414da2e3ebchin#undef	realloc
415da2e3ebchin#define realloc		_ast_realloc
416da2e3ebchinextern __MANGLE__ __V_*		realloc __PROTO__((__V_*, size_t));
417da2e3ebchin#undef	strdup
418da2e3ebchin#define strdup		_ast_strdup
419da2e3ebchinextern __MANGLE__ char*		strdup __PROTO__((const char*));
420da2e3ebchin#undef	valloc
421da2e3ebchin#define valloc		_ast_valloc
422da2e3ebchinextern __MANGLE__ __V_*		valloc __PROTO__((size_t));
423da2e3ebchin#undef	strtol
424da2e3ebchin#define strtol		_ast_strtol
425da2e3ebchin#undef	strtoul
426da2e3ebchin#define strtoul		_ast_strtoul
427da2e3ebchin#undef	strtoll
428da2e3ebchin#define strtoll		_ast_strtoll
429da2e3ebchin#undef	strtoull
430da2e3ebchin#define strtoull	_ast_strtoull
431da2e3ebchin#undef	strtod
432da2e3ebchin#define strtod		_ast_strtod
433da2e3ebchin#undef	strtold
434da2e3ebchin#define strtold		_ast_strtold
435da2e3ebchinextern __MANGLE__ long		strtol __PROTO__((const char*, char**, int));
436da2e3ebchinextern __MANGLE__ unsigned long	strtoul __PROTO__((const char*, char**, int));
437da2e3ebchinextern __MANGLE__ double		strtod __PROTO__((const char*, char**));
438da2e3ebchin#if !_UWIN
439da2e3ebchin#undef __MANGLE__
440da2e3ebchin#define __MANGLE__ __LINKAGE__
441da2e3ebchin#endif
442da2e3ebchinextern __MANGLE__ _ast_fltmax_t	strtold __PROTO__((const char*, char**));
443da2e3ebchin#undef __MANGLE__
444da2e3ebchin#define __MANGLE__ __LINKAGE__
445da2e3ebchinextern __MANGLE__ _ast_intmax_t		strtoll __PROTO__((const char*, char**, int));
446da2e3ebchinextern __MANGLE__ unsigned _ast_intmax_t	strtoull __PROTO__((const char*, char**, int));
447da2e3ebchin
448da2e3ebchin#undef __MANGLE__
449da2e3ebchin#define __MANGLE__ __LINKAGE__
450da2e3ebchin#endif
451