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