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