coverity appeasement
[minix.git] / lib / libc / include / namespace.h
blob6c876c3222d57455ee40342464b1988ea8489272
1 /* $NetBSD: namespace.h,v 1.146 2010/12/16 18:38:06 christos Exp $ */
3 /*-
4 * Copyright (c) 1997-2004 The NetBSD Foundation, Inc.
5 * All rights reserved.
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions
9 * are met:
10 * 1. Redistributions of source code must retain the above copyright
11 * notice, this list of conditions and the following disclaimer.
12 * 2. Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in the
14 * documentation and/or other materials provided with the distribution.
16 * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
17 * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
18 * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
19 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
20 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
21 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
22 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
23 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
24 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
25 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
26 * POSSIBILITY OF SUCH DAMAGE.
29 #ifndef _NAMESPACE_H_
30 #define _NAMESPACE_H_
32 #include <sys/cdefs.h>
34 #ifndef __lint__
35 #define aio_suspend _aio_suspend
36 #define brk _brk
37 #define catclose _catclose
38 #define catgets _catgets
39 #define catopen _catopen
40 #define daylight _daylight
41 #define difftime _difftime
42 #define err _err
43 #define errx _errx
44 #ifdef _REENTRANT
45 #define fileno _fileno
46 #endif /* _REENTRANT */
47 #define fork _fork
48 #define fseeko _fseeko
49 #define ftello _ftello
50 #ifndef __minix
51 #define getcontext _getcontext
52 #endif /* !__minix */
53 #define getenv_r _getenv_r
54 #define imaxabs _imaxabs
55 #define imaxdiv _imaxdiv
56 #define inet_aton _inet_aton
57 #define inet_pton _inet_pton
58 #define pipe _pipe
59 #define sbrk _sbrk
60 #define strerror_r _strerror_r
61 #define strlcat _strlcat
62 #define strlcpy _strlcpy
63 #define strtof _strtof
64 #define strtoimax _strtoimax
65 #define strtold _strtold
66 #define strtoll _strtoll
67 #define strtoull _strtoull
68 #define strtoumax _strtoumax
69 #define sys_errlist _sys_errlist
70 #define sys_nerr _sys_nerr
71 #define sys_siglist _sys_siglist
72 #define sys_nsig _sys_nsig
73 #define sysconf __sysconf
74 #define verr _verr
75 #define verrx _verrx
76 #define vwarn _vwarn
77 #define vwarnx _vwarnx
78 #define warn _warn
79 #define warnx _warnx
81 #ifdef __weak_alias
82 #define MD2Data _MD2Data
83 #define MD2End _MD2End
84 #define MD2FileChunk _MD2FileChunk
85 #define MD2File _MD2File
86 #define MD2Final _MD2Final
87 #define MD2Init _MD2Init
88 #define MD2Transform _MD2Transform
89 #define MD2Update _MD2Update
90 #define MD4Data _MD4Data
91 #define MD4End _MD4End
92 #define MD4FileChunk _MD4FileChunk
93 #define MD4File _MD4File
94 #define MD4Final _MD4Final
95 #define MD4Init _MD4Init
96 #define MD4Transform _MD4Transform
97 #define MD4Update _MD4Update
98 #define MD5Data _MD5Data
99 #define MD5End _MD5End
100 #define MD5FileChunk _MD5FileChunk
101 #define MD5File _MD5File
102 #define MD5Final _MD5Final
103 #define MD5Init _MD5Init
104 #define MD5Transform _MD5Transform
105 #define MD5Update _MD5Update
106 #define RMD160Data _RMD160Data
107 #define RMD160End _RMD160End
108 #define RMD160FileChunk _RMD160FileChunk
109 #define RMD160File _RMD160File
110 #define RMD160Final _RMD160Final
111 #define RMD160Init _RMD160Init
112 #define RMD160Transform _RMD160Transform
113 #define RMD160Update _RMD160Update
114 #define SHA1Data _SHA1Data
115 #define SHA1End _SHA1End
116 #define SHA1FileChunk _SHA1FileChunk
117 #define SHA1File _SHA1File
118 #define SHA1Final _SHA1Final
119 #define SHA1Init _SHA1Init
120 #define SHA1Transform _SHA1Transform
121 #define SHA1Update _SHA1Update
122 #define SHA224_Data _SHA224_Data
123 #define SHA224_End _SHA224_End
124 #define SHA224_FileChunk _SHA224_FileChunk
125 #define SHA224_File _SHA224_File
126 #define SHA224_Final _SHA224_Final
127 #define SHA224_Init _SHA224_Init
128 #define SHA224_Transform _SHA224_Transform
129 #define SHA224_Update _SHA224_Update
130 #define SHA256_Data _SHA256_Data
131 #define SHA256_End _SHA256_End
132 #define SHA256_FileChunk _SHA256_FileChunk
133 #define SHA256_File _SHA256_File
134 #define SHA256_Final _SHA256_Final
135 #define SHA256_Init _SHA256_Init
136 #define SHA256_Transform _SHA256_Transform
137 #define SHA256_Update _SHA256_Update
138 #define SHA384_Data _SHA384_Data
139 #define SHA384_End _SHA384_End
140 #define SHA384_FileChunk _SHA384_FileChunk
141 #define SHA384_File _SHA384_File
142 #define SHA384_Final _SHA384_Final
143 #define SHA384_Init _SHA384_Init
144 #define SHA384_Transform _SHA384_Transform
145 #define SHA384_Update _SHA384_Update
146 #define SHA512_Data _SHA512_Data
147 #define SHA512_End _SHA512_End
148 #define SHA512_FileChunk _SHA512_FileChunk
149 #define SHA512_File _SHA512_File
150 #define SHA512_Final _SHA512_Final
151 #define SHA512_Init _SHA512_Init
152 #define SHA512_Transform _SHA512_Transform
153 #define SHA512_Update _SHA512_Update
154 #define a64l _a64l
155 #define adjtime _adjtime
156 #define alarm _alarm
157 #define alphasort _alphasort
158 #define arc4random _arc4random
159 #define asctime_r _asctime_r
160 #define asprintf _asprintf
161 #define atoll _atoll
162 #define authnone_create _authnone_create
163 #define authunix_create _authunix_create
164 #define authunix_create_default _authunix_create_default
165 #define basename _basename
166 #define bindresvport _bindresvport
167 #define bindresvport_sa _bindresvport_sa
168 #define bm_comp _bm_comp
169 #define bm_exec _bm_exec
170 #define bm_free _bm_free
171 #define callrpc _callrpc
172 #define cdbr_close _cdbr_close
173 #define cdbr_find _cdbr_find
174 #define cdbr_get _cdbr_get
175 #define cdbr_open _cdbr_open
176 #define cdbw_close _cdbw_close
177 #define cdbw_open _cdbw_open
178 #define cdbw_put _cdbw_put
179 #define cdbw_put_data _cdbw_put_data
180 #define cdbw_put_key _cdbw_put_key
181 #define cdbw_output _cdbw_output
182 #define cfgetispeed _cfgetispeed
183 #define cfgetospeed _cfgetospeed
184 #define cfmakeraw _cfmakeraw
185 #define cfsetispeed _cfsetispeed
186 #define cfsetospeed _cfsetospeed
187 #define cfsetspeed _cfsetspeed
188 #define cgetcap _cgetcap
189 #define cgetclose _cgetclose
190 #define cgetent _cgetent
191 #define cgetfirst _cgetfirst
192 #define cgetmatch _cgetmatch
193 #define cgetnext _cgetnext
194 #define cgetnum _cgetnum
195 #define cgetset _cgetset
196 #define cgetstr _cgetstr
197 #define cgetustr _cgetustr
198 #define clnt_broadcast _clnt_broadcast
199 #define clnt_create _clnt_create
200 #define clnt_create_vers _clnt_create_vers
201 #define clnt_dg_create _clnt_dg_create
202 #define clnt_pcreateerror _clnt_pcreateerror
203 #define clnt_perrno _clnt_perrno
204 #define clnt_perror _clnt_perror
205 #define clnt_raw_create _clnt_raw_create
206 #define clnt_tli_create _clnt_tli_create
207 #define clnt_tp_create _clnt_tp_create
208 #define clnt_spcreateerror _clnt_spcreateerror
209 #define clnt_sperrno _clnt_sperrno
210 #define clnt_sperror _clnt_sperror
211 #define clnt_vc_create _clnt_vc_create
212 #define clntraw_create _clntraw_create
213 #define clnttcp_create _clnttcp_create
214 #define clntudp_bufcreate _clntudp_bufcreate
215 #define clntudp_create _clntudp_create
216 #define clock_gettime _clock_gettime
217 #define clock_getres _clock_getres
218 #define clock_settime _clock_settime
219 #define closedir _closedir
220 #define closelog _closelog
221 #define closelog_r _closelog_r
222 #define confstr _confstr
223 #define csetexpandtc _csetexpandtc
224 #define ctermid _ctermid
225 #define ctime_r __ctime_r50
226 #define ctime_rz __ctime_rz50
227 #define daemon _daemon
228 #define dbopen _dbopen
229 #define devname _devname
230 #define difftime _difftime
231 #define dirname _dirname
232 #define dn_expand _dn_expand
233 #define drand48 _drand48
234 #define endfsent _endfsent
235 #define endgrent _endgrent
236 #define endhostent _endhostent
237 #define endnetconfig _endnetconfig
238 #define endnetent _endnetent
239 #define endnetgrent _endnetgrent
240 #define endnetpath _endnetpath
241 #define endprotoent _endprotoent
242 #define endprotoent_r _endprotoent_r
243 #define endpwent _endpwent
244 #define endrpcent _endrpcent
245 #define endservent _endservent
246 #define endservent_r _endservent_r
247 #define endttyent _endttyent
248 #define endusershell _endusershell
249 #define erand48 _erand48
250 #define ether_aton _ether_aton
251 #define ether_hostton _ether_hostton
252 #define ether_line _ether_line
253 #define ether_ntoa _ether_ntoa
254 #define ether_ntohost _ether_ntohost
255 #define execl _execl
256 #define execle _execle
257 #define execlp _execlp
258 #define execv _execv
259 #define execvp _execvp
260 #define fdopen _fdopen
261 #define fgetln _fgetln
262 #define fgetwln _fgetwln
263 #define fhstatvfs _fhstatvfs
264 #define flockfile _flockfile
265 #define ftrylockfile _ftrylockfile
266 #define funlockfile _funlockfile
267 #define fnmatch _fnmatch
268 #define fparseln _fparseln
269 #define fpgetmask _fpgetmask
270 #define fpgetround _fpgetround
271 #define fpgetsticky _fpgetsticky
272 #define fpsetmask _fpsetmask
273 #define fpsetround _fpsetround
274 #define fpsetsticky _fpsetsticky
275 #define freenetconfigent _freenetconfigent
276 #define freeaddrinfo _freeaddrinfo
277 #define freeifaddrs _freeifaddrs
278 #define fstatvfs _fstatvfs
279 #define ftok _ftok
280 #define ftruncate _ftruncate
281 #define fts_children _fts_children
282 #define fts_close _fts_close
283 #define fts_open _fts_open
284 #define fts_read _fts_read
285 #define fts_set _fts_set
286 #define gai_strerror _gai_strerror
287 #define get_myaddress _get_myaddress
288 #define getaddrinfo _getaddrinfo
289 #define getbsize _getbsize
290 #define getcwd _getcwd
291 #define getdelim _getdelim
292 #define getdevmajor _getdevmajor
293 #define getdiskbyname _getdiskbyname
294 #define getdomainname _getdomainname
295 #define getfsent _getfsent
296 #define getfsfile _getfsfile
297 #define getfsspec _getfsspec
298 #define getgrent _getgrent
299 #define getgrent_r _getgrent_r
300 #define getgrgid _getgrgid
301 #define getgrgid_r _getgrgid_r
302 #define getgrnam _getgrnam
303 #define getgrnam_r _getgrnam_r
304 #define getgrouplist _getgrouplist
305 #define getgroupmembership _getgroupmembership
306 #define gethostbyaddr _gethostbyaddr
307 #define gethostbyname _gethostbyname
308 #define gethostent _gethostent
309 #define gethostname _gethostname
310 #define getifaddrs _getifaddrs
311 #define getline _getline
312 #define getloadavg _getloadavg
313 #define getlogin _getlogin
314 #define getlogin_r _getlogin_r
315 #define getmntinfo _getmntinfo
316 #define getmode _getmode
317 #define getnameinfo _getnameinfo
318 #define getnetbyaddr _getnetbyaddr
319 #define getnetbyname _getnetbyname
320 #define getnetconfig _getnetconfig
321 #define getnetconfigent _getnetconfigent
322 #define getnetent _getnetent
323 #define getnetgrent _getnetgrent
324 #define getnetpath _getnetpath
325 #define getopt _getopt
326 #define getopt_long _getopt_long
327 #define getpagesize _getpagesize
328 #define getpass _getpass
329 #define getprogname _getprogname
330 #define getprotobyname _getprotobyname
331 #define getprotobyname_r _getprotobyname_r
332 #define getprotobynumber _getprotobynumber
333 #define getprotobynumber_r _getprotobynumber_r
334 #define getprotoent _getprotoent
335 #define getprotoent_r _getprotoent_r
336 #define getpwent _getpwent
337 #define getpwent_r _getpwent_r
338 #define getpwnam _getpwnam
339 #define getpwnam_r _getpwnam_r
340 #define getpwuid _getpwuid
341 #define getpwuid_r _getpwuid_r
342 #define getrpcbyname _getrpcbyname
343 #define getrpcbyname_r _getrpcbyname_r
344 #define getrpcbynumber _getrpcbynumber
345 #define getrpcbynumber_r _getrpcbynumber_r
346 #define getrpcent _getrpcent
347 #define getrpcent_r _getrpcent_r
348 #define getrpcport _getrpcport
349 #define getservbyname _getservbyname
350 #define getservbyname_r _getservbyname_r
351 #define getservbyport _getservbyport
352 #define getservbyport_r _getservbyport_r
353 #define getservent _getservent
354 #define getservent_r _getservent_r
355 #define getsubopt _getsubopt
356 #define getttyent _getttyent
357 #define getttynam _getttynam
358 #define getusershell _getusershell
359 #define glob _glob
360 #define globfree _globfree
361 #define gmtime_r _gmtime_r
362 #define group_from_gid _group_from_gid
363 #define heapsort _heapsort
364 #define herror _herror
365 #define hes_error _hes_error
366 #define hes_free _hes_free
367 #define hes_init _hes_init
368 #define hes_resolve _hes_resolve
369 #define hes_to_bind _hes_to_bind
370 #define hesiod_end _hesiod_end
371 #define hesiod_free_list _hesiod_free_list
372 #define hesiod_init _hesiod_init
373 #define hesiod_resolve _hesiod_resolve
374 #define hesiod_to_bind _hesiod_to_bind
375 #define iconv _iconv
376 #define iconv_open _iconv_open
377 #define iconv_close _iconv_close
378 #define if_freenameindex _if_freenameindex
379 #define if_indextoname _if_indextoname
380 #define if_nameindex _if_nameindex
381 #define if_nametoindex _if_nametoindex
382 #define in6addr_any _in6addr_any
383 #define in6addr_linklocal_allnodes _in6addr_linklocal_allnodes
384 #define in6addr_linklocal_allrouters _in6addr_linklocal_allrouters
385 #define in6addr_loopback _in6addr_loopback
386 #define in6addr_nodelocal_allnodes _in6addr_nodelocal_allnodes
387 #define inet6_option_alloc _inet6_option_alloc
388 #define inet6_option_append _inet6_option_append
389 #define inet6_option_find _inet6_option_find
390 #define inet6_option_init _inet6_option_init
391 #define inet6_option_next _inet6_option_next
392 #define inet6_option_space _inet6_option_space
393 #define inet6_opt_init _inet6_opt_init
394 #define inet6_opt_append _inet6_opt_append
395 #define inet6_opt_finish _inet6_opt_finish
396 #define inet6_opt_set_val _inet6_opt_set_val
397 #define inet6_opt_next _inet6_opt_next
398 #define inet6_opt_find _inet6_opt_find
399 #define inet6_opt_get_val _inet6_opt_get_val
400 #define inet6_rthdr_add _inet6_rthdr_add
401 #define inet6_rthdr_getaddr _inet6_rthdr_getaddr
402 #define inet6_rthdr_getflags _inet6_rthdr_getflags
403 #define inet6_rthdr_init _inet6_rthdr_init
404 #define inet6_rthdr_lasthop _inet6_rthdr_lasthop
405 #define inet6_rthdr_segments _inet6_rthdr_segments
406 #define inet6_rthdr_space _inet6_rthdr_space
407 #define inet6_rth_space _inet6_rth_space
408 #define inet6_rth_init _inet6_rth_init
409 #define inet6_rth_add _inet6_rth_add
410 #define inet6_rth_reverse _inet6_rth_reverse
411 #define inet6_rth_segments _inet6_rth_segments
412 #define inet6_rth_getaddr _inet6_rth_getaddr
413 #define inet_cidr_ntop _inet_cidr_ntop
414 #define inet_cidr_pton _inet_cidr_pton
415 #define inet_lnaof _inet_lnaof
416 #define inet_makeaddr _inet_makeaddr
417 #define inet_net_ntop _inet_net_ntop
418 #define inet_net_pton _inet_net_pton
419 #define inet_neta _inet_neta
420 #define inet_netof _inet_netof
421 #define inet_network _inet_network
422 #define inet_nsap_addr _inet_nsap_addr
423 #define inet_nsap_ntoa _inet_nsap_ntoa
424 #define inet_ntoa _inet_ntoa
425 #define inet_ntop _inet_ntop
426 #define initgroups _initgroups
427 #define initstate _initstate
428 #define innetgr _innetgr
429 #define isatty _isatty
430 #define jrand48 _jrand48
431 #define kill _kill
432 #define l64a _l64a
433 #define l64a_r _l64a_r
434 #define lcong48 _lcong48
435 #define llabs _llabs
436 #define lldiv _lldiv
437 #define localtime_r __localtime_r50
438 #define localtime_rz __localtime_rz50
439 #define lockf _lockf
440 #define lrand48 _lrand48
441 #define lseek _lseek
442 #define mergesort _mergesort
443 #define mi_vector_hash _mi_vector_hash
444 #define mkstemp _mkstemp
445 #define mktime_z __mktime_z50
446 #define mpool_close _mpool_close
447 #define mpool_filter _mpool_filter
448 #define mpool_get _mpool_get
449 #define mpool_new _mpool_new
450 #define mpool_open _mpool_open
451 #define mpool_put _mpool_put
452 #define mpool_sync _mpool_sync
453 #define mq_timedreceive _mq_timedreceive
454 #define mq_timedsend _mq_timedsend
455 #define mrand48 _mrand48
456 #define nc_perror _nc_perror
457 #define nc_sperror _nc_sperror
458 #define nanosleep _nanosleep
459 #define nice _nice
460 #if 0
461 #define nlist _nlist
462 #endif
463 #define nrand48 _nrand48
464 #define ntp_adjtime _ntp_adjtime
465 #define nsdispatch _nsdispatch
466 #define offtime _offtime
467 #define opendir _opendir
468 #define fdopendir _fdopendir
469 #define openlog _openlog
470 #define openlog_r _openlog_r
471 #define pause _pause
472 #define pclose _pclose
473 #define pmap_getmaps _pmap_getmaps
474 #define pmap_getport _pmap_getport
475 #define pmap_rmtcall _pmap_rmtcall
476 #define pmap_set _pmap_set
477 #define pmap_unset _pmap_unset
478 #define pollts _pollts
479 #define popen _popen
480 #define posix2time __posix2time50
481 #define posix2time_z __posix2time_z50
482 #define pread _pread
483 #define pselect _pselect
484 #define psignal _psignal
485 #define pthread_atfork _pthread_atfork
486 #define ptree_init ptree_init
487 #define ptree_insert_node ptree_insert_node
488 #define ptree_insert_mask_node ptree_insert_mask_node
489 #define ptree_find_filtered_node ptree_find_filtered_node
490 #define ptree_remove_node ptree_remove_node
491 #define ptree_iterate ptree_iterate
492 #define putenv _putenv
493 #define pwcache_groupdb _pwcache_groupdb
494 #define pwcache_userdb _pwcache_userdb
495 #define pwrite _pwrite
496 #define qabs _qabs
497 #define qdiv _qdiv
498 #define radixsort _radixsort
499 #define random _random
500 #define randomid _randomid
501 #define randomid_new _randomid_new
502 #define randomid_delete _randomid_delete
503 #define read _read
504 #define readdir _readdir
505 #define readdir_r _readdir_r
506 #define readlink _readlink
507 #define realpath _realpath
508 #define regcomp _regcomp
509 #define regerror _regerror
510 #define regexec _regexec
511 #define regfree _regfree
512 #define registerrpc _registerrpc
513 #define res_init _res_init
514 #define res_mkquery _res_mkquery
515 #define res_query _res_query
516 #define res_search _res_search
517 #define rewinddir _rewinddir
518 #define rpc_broadcast _rpc_broadcast
519 #define rpc_broadcast_exp _rpc_broadcast_exp
520 #define rpc_call _rpc_call
521 #define rpc_control _rpc_control
522 #define rpc_reg _rpc_reg
523 #define rpcb_getmaps _rpcb_getmaps
524 #define rpcb_gettime _rpcb_gettime
525 #define rpcb_rmtcall _rpcb_rmtcall
526 #define rpcb_set _rpcb_set
527 #define rpcb_taddr2uaddr _rpcb_taddr2uaddr
528 #define rpcb_uaddr2taddr _rpcb_uaddr2taddr
529 #define rpcb_unset _rpcb_unset
530 #define scandir _scandir
531 #define seed48 _seed48
532 #define seekdir _seekdir
533 #define select _select
534 #ifdef __minix
535 /* '_send' unfortunately collides with Minix IPC's _send function.
536 * This solution is fragile, a proper renaming of Minix IPCs should
537 * be done insted. */
538 #else /* !__minix */
539 #define send _send
540 #endif /* !__minix */
541 #define setdomainname _setdomainname
542 #define setenv _setenv
543 #define setfsent _setfsent
544 #define setgrent _setgrent
545 #define setgroupent _setgroupent
546 #define sethostent _sethostent
547 #define sethostname _sethostname
548 #define setlogin _setlogin
549 #define setlogmask _setlogmask
550 #define setlogmask_r _setlogmask_r
551 #define setmode _setmode
552 #define setnetconfig _setnetconfig
553 #define setnetent _setnetent
554 #define setnetgrent _setnetgrent
555 #define setpassent _setpassent
556 #define setnetpath _setnetpath
557 #define setproctitle _setproctitle
558 #define setprotoent _setprotoent
559 #define setprotoent_r _setprotoent_r
560 #define setpwent _setpwent
561 #define setrpcent _setrpcent
562 #define setservent _setservent
563 #define setservent_r _setservent_r
564 #define setstate _setstate
565 #define setttyent _setttyent
566 #define setttyentpath _setttyentpath
567 #define settimeofday _settimeofday
568 #define setusershell _setusershell
569 #define shm_open _shm_open
570 #define shm_unlink _shm_unlink
571 #define shquote _shquote
572 #define siginterrupt _siginterrupt
573 #define signal _signal
574 #define sigtimedwait _sigtimedwait
575 #define sl_add _sl_add
576 #define sl_create _sl_create
577 #define sl_delete _sl_delete
578 #define sl_find _sl_find
579 #define sl_free _sl_free
580 #define sl_init _sl_init
581 #define sleep _sleep
582 #ifndef snprintf
583 #define snprintf _snprintf
584 #endif
585 #define snprintf_ss _snprintf_ss
586 #define sradixsort _sradixsort
587 #define srand48 _srand48
588 #define srandom _srandom
589 #define statvfs(a, b) _statvfs(a, b)
590 #define strcasecmp _strcasecmp
591 #define strdup _strdup
592 #define stresep _stresep
593 #define strftime_z _strftime_z
594 #define strndup _strndup
595 #define strncasecmp _strncasecmp
596 #define strptime _strptime
597 #define strsep _strsep
598 #define strsignal _strsignal
599 #define strsuftoll _strsuftoll
600 #define strsuftollx _strsuftollx
601 #define strsvis _strsvis
602 #define strsvisx _strsvisx
603 #define strtok_r _strtok_r
604 #define strunvis _strunvis
605 #define strvis _strvis
606 #define strvisx _strvisx
607 #define svc_auth_reg _svc_auth_reg
608 #define svc_create _svc_create
609 #define svc_dg_create _svc_dg_create
610 #define svc_exit _svc_exit
611 #define svc_fd_create _svc_fd_create
612 #define svc_getreq _svc_getreq
613 #define svc_getreqset _svc_getreqset
614 #define svc_getreq_common _svc_getreq_common
615 #define svc_raw_create _svc_raw_create
616 #define svc_register _svc_register
617 #define svc_reg _svc_reg
618 #define svc_run _svc_run
619 #define svc_sendreply _svc_sendreply
620 #define svc_tli_create _svc_tli_create
621 #define svc_tp_create _svc_tp_create
622 #define svc_unregister _svc_unregister
623 #define svc_unreg _svc_unreg
624 #define svc_vc_create _svc_vc_create
625 #define svcerr_auth _svcerr_auth
626 #define svcerr_decode _svcerr_decode
627 #define svcerr_noproc _svcerr_noproc
628 #define svcerr_noprog _svcerr_noprog
629 #define svcerr_progvers _svcerr_progvers
630 #define svcerr_systemerr _svcerr_systemerr
631 #define svcerr_weakauth _svcerr_weakauth
632 #define svcfd_create _svcfd_create
633 #define svcraw_create _svcraw_create
634 #define svctcp_create _svctcp_create
635 #define svcudp_bufcreate _svcudp_bufcreate
636 #define svcudp_create _svcudp_create
637 #define svcudp_enablecache _svcudp_enablecache
638 #define svis _svis
639 #define sysarch _sys_sysarch
640 #define sysctl _sysctl
641 #define sysctlbyname _sysctlbyname
642 #define sysctlgetmibinfo _sysctlgetmibinfo
643 #define sysctlnametomib _sysctlnametomib
644 #define syslog _syslog
645 #define syslog_r _syslog_r
646 #define syslog_ss _syslog_ss
647 #define syslogp _syslogp
648 #define syslogp_r _syslogp_r
649 #define syslogp_ss _syslogp_ss
650 #define taddr2uaddr _taddr2uaddr
651 #define tcdrain _tcdrain
652 #define tcflow _tcflow
653 #define tcflush _tcflush
654 #define tcgetattr _tcgetattr
655 #define tcgetpgrp _tcgetpgrp
656 #define tcgetsid _tcgetsid
657 #define tcsendbreak _tcsendbreak
658 #define tcsetattr _tcsetattr
659 #define tcsetpgrp _tcsetpgrp
660 #define telldir _telldir
661 #define time _time
662 #define time2posix _time2posix
663 #define timegm _timegm
664 #define timelocal _timelocal
665 #define timeoff _timeoff
666 #define times _times
667 #define ttyname _ttyname
668 #define ttyname_r _ttyname_r
669 #define ttyslot _ttyslot
670 #define tzname _tzname
671 #define tzset _tzset
672 #define tzsetwall _tzsetwall
673 #define uaddr2taddr _uaddr2taddr
674 #define ualarm _ualarm
675 #define uname _uname
676 #define unsetenv _unsetenv
677 #define unvis _unvis
678 #define user_from_uid _user_from_uid
679 #define usleep _usleep
680 #define utime _utime
681 #define uuid_create_nil _uuid_create_nil
682 #define uuid_is_nil _uuid_is_nil
683 #define valloc _valloc
684 #define vdprintf _vdprintf
685 #define vis _vis
686 #define vdprintf _vdprintf
687 #ifndef vsnprintf
688 #define vsnprintf _vsnprintf
689 #endif
690 #define vsnprintf_ss _vsnprintf_ss
691 #define vsyslog _vsyslog
692 #define vsyslog_r _vsyslog_r
693 #define vsyslog_ss _vsyslog_ss
694 #define vsyslogp _vsyslogp
695 #define vsyslogp_r _vsyslogp_r
696 #define vsyslogp_ss _vsyslogp_ss
697 #define wait _wait
698 #define wait3 _wait3
699 #define wait4 _wait4
700 #define waitpid _waitpid
701 #define wcscasecmp _wcscasecmp
702 #define wcsdup _wcsdup
703 #define wcsncasecmp _wcsncasecmp
704 #define wcstof _wcstof
705 #define wcstod _wcstod
706 #define wcstold _wcstold
707 #define wcwidth _wcwidth
708 #define xdr_accepted_reply _xdr_accepted_reply
709 #define xdr_array _xdr_array
710 #define xdr_authunix_parms _xdr_authunix_parms
711 #define xdr_bool _xdr_bool
712 #define xdr_bytes _xdr_bytes
713 #define xdr_callhdr _xdr_callhdr
714 #define xdr_callmsg _xdr_callmsg
715 #define xdr_char _xdr_char
716 #define xdr_datum _xdr_datum
717 #define xdr_des_block _xdr_des_block
718 #define xdr_domainname _xdr_domainname
719 #define xdr_double _xdr_double
720 #define xdr_enum _xdr_enum
721 #define xdr_float _xdr_float
722 #define xdr_free _xdr_free
723 #define xdr_hyper _xdr_hyper
724 #define xdr_int _xdr_int
725 #define xdr_int16_t _xdr_int16_t
726 #define xdr_int32_t _xdr_int32_t
727 #define xdr_int64_t _xdr_int64_t
728 #define xdr_long _xdr_long
729 #define xdr_longlong_t _xdr_longlong_t
730 #define xdr_mapname _xdr_mapname
731 #define xdr_netbuf _xdr_netbuf
732 #define xdr_netobj _xdr_netobj
733 #define xdr_opaque _xdr_opaque
734 #define xdr_opaque_auth _xdr_opaque_auth
735 #define xdr_peername _xdr_peername
736 #define xdr_pmap _xdr_pmap
737 #define xdr_pmaplist _xdr_pmaplist
738 #define xdr_pointer _xdr_pointer
739 #define xdr_reference _xdr_reference
740 #define xdr_rejected_reply _xdr_rejected_reply
741 #define xdr_replymsg _xdr_replymsg
742 #define xdr_rmtcall_args _xdr_rmtcall_args
743 #define xdr_rmtcallres _xdr_rmtcallres
744 #define xdr_rpcb _xdr_rpcb
745 #define xdr_rpcb_entry _xdr_rpcb_entry
746 #define xdr_rpcb_entry_list_ptr _xdr_rpcb_entry_list_ptr
747 #define xdr_rpcb_rmtcallargs _xdr_rpcb_rmtcallargs
748 #define xdr_rpcb_rmtcallres _xdr_rpcb_rmtcallres
749 #define xdr_rpcb_stat _xdr_rpcb_stat
750 #define xdr_rpcb_stat_byvers _xdr_rpcb_stat_byvers
751 #define xdr_rpcblist _xdr_rpcblist
752 #define xdr_rpcblist_ptr _xdr_rpcblist_ptr
753 #define xdr_rpcbs_addrlist _xdr_rpcbs_addrlist
754 #define xdr_rpcbs_addrlist_ptr _xdr_rpcbs_addrlist_ptr
755 #define xdr_rpcbs_proc _xdr_rpcbs_proc
756 #define xdr_rpcbs_rmtcalllist _xdr_rpcbs_rmtcalllist
757 #define xdr_rpcbs_rmtcalllist_ptr _xdr_rpcbs_rmtcalllist_ptr
758 #define xdr_rpcbs _xdr_rpcbs
759 #define xdr_rpcbs _xdr_rpcbs
760 #define xdr_short _xdr_short
761 #define xdr_string _xdr_string
762 #define xdr_u_char _xdr_u_char
763 #define xdr_u_hyper _xdr_u_hyper
764 #define xdr_u_int _xdr_u_int
765 #define xdr_u_int16_t _xdr_u_int16_t
766 #define xdr_u_int32_t _xdr_u_int32_t
767 #define xdr_u_int64_t _xdr_u_int64_t
768 #define xdr_u_long _xdr_u_long
769 #define xdr_u_longlong_t _xdr_u_longlong_t
770 #define xdr_u_short _xdr_u_short
771 #define xdr_union _xdr_union
772 #define xdr_vector _xdr_vector
773 #define xdr_void _xdr_void
774 #define xdr_wrapstring _xdr_wrapstring
775 #define xdr_yp_inaddr _xdr_yp_inaddr
776 #define xdr_ypall _xdr_ypall
777 #define xdr_ypbind_resp _xdr_ypbind_resp
778 #define xdr_ypbind_setdom _xdr_ypbind_setdom
779 #define xdr_ypdomain_wrap_string _xdr_ypdomain_wrap_string
780 #define xdr_ypmap_parms _xdr_ypmap_parms
781 #define xdr_ypmap_wrap_string _xdr_ypmap_wrap_string
782 #define xdr_ypmaplist _xdr_ypmaplist
783 #define xdr_ypowner_wrap_string _xdr_ypowner_wrap_string
784 #define xdr_yppushresp_xfr _xdr_yppushresp_xfr
785 #define xdr_ypreq_key _xdr_ypreq_key
786 #define xdr_ypreq_nokey _xdr_ypreq_nokey
787 #define xdr_ypreq_xfr _xdr_ypreq_xfr
788 #define xdr_ypresp_key_val _xdr_ypresp_key_val
789 #define xdr_ypresp_maplist _xdr_ypresp_maplist
790 #define xdr_ypresp_master _xdr_ypresp_master
791 #define xdr_ypresp_order _xdr_ypresp_order
792 #define xdr_ypresp_val _xdr_ypresp_val
793 #define xdrmem_create _xdrmem_create
794 #define xdrrec_create _xdrrec_create
795 #define xdrrec_endofrecord _xdrrec_endofrecord
796 #define xdrrec_eof _xdrrec_eof
797 #define xdrrec_skiprecord _xdrrec_skiprecord
798 #define xdrstdio_create _xdrstdio_create
799 #define xprt_register _xprt_register
800 #define xprt_unregister _xprt_unregister
801 #define yp_all _yp_all
802 #define yp_bind _yp_bind
803 #define yp_first _yp_first
804 #define yp_get_default_domain _yp_get_default_domain
805 #define yp_maplist _yp_maplist
806 #define yp_master _yp_master
807 #define yp_match _yp_match
808 #define yp_next _yp_next
809 #define yp_order _yp_order
810 #define yp_unbind _yp_unbind
811 #define yperr_string _yperr_string
812 #define ypprot_err _ypprot_err
813 #define dlopen __dlopen
814 #define dlclose __dlclose
815 #define dlsym __dlsym
816 #define dlerror __dlerror
817 #define dladdr __dladdr
818 #define fmtcheck __fmtcheck
820 /* RB trees */
821 #define rb_tree_init _rb_tree_init
822 #define rb_tree_find_node _rb_tree_find_node
823 #define rb_tree_find_node_geq _rb_tree_find_node_geq
824 #define rb_tree_find_node_leq _rb_tree_find_node_leq
825 #define rb_tree_insert_node _rb_tree_insert_node
826 #define rb_tree_remove_node _rb_tree_remove_node
827 #define rb_tree_iterate _rb_tree_iterate
828 #ifdef RBDEBUG
829 #define rb_tree_check _rb_tree_check
830 #define rb_tree_depths _rb_tree_depths
831 #endif
833 /* rpc locks */
834 #define authdes_lock __rpc_authdes_lock
835 #define authnone_lock __rpc_authnone_lock
836 #define authsvc_lock __rpc_authsvc_lock
837 #define clnt_fd_lock __rpc_clnt_fd_lock
838 #define clntraw_lock __rpc_clntraw_lock
839 #define dname_lock __rpc_dname_lock
840 #define dupreq_lock __rpc_dupreq_lock
841 #define keyserv_lock __rpc_keyserv_lock
842 #define libnsl_trace_lock __rpc_libnsl_trace_lock
843 #define loopnconf_lock __rpc_loopnconf_lock
844 #define ops_lock __rpc_ops_lock
845 #define portnum_lock __rpc_portnum_lock
846 #define proglst_lock __rpc_proglst_lock
847 #define rpcbaddr_cache_lock __rpc_rpcbaddr_cache_lock
848 #define rpcsoc_lock __rpc_rpcsoc_lock
849 #define svc_fd_lock __rpc_svc_fd_lock
850 #define svc_lock __rpc_svc_lock
851 #define svcraw_lock __rpc_svcraw_lock
852 #define xprtlist_lock __rpc_xprtlist_lock
854 #define __learn_tree ___learn_tree
856 #ifdef __minix
857 #define _exit __exit
858 #define access _access
859 #define bind _bind
860 #define chdir _chdir
861 #define chmod _chmod
862 #define chown _chown
863 #define chroot _chroot
864 #define close _close
865 #define dup _dup
866 #define dup2 _dup2
867 #define execve _execve
868 #define fchdir _fchdir
869 #define fchmod _fchmod
870 #define fchown _fchown
871 #define fcntl _fcntl
872 #define flock _flock
873 #define fstatfs _fstatfs
874 #define fsync _fsync
875 #define fpathconf _fpathconf
876 #define getegid _getegid
877 #define geteuid _geteuid
878 #define getgroups _getgroups
879 #define getpid _getpid
880 #define getpgrp _getpgrp
881 #define getppid _getppid
882 #define gettimeofday _gettimeofday
883 #define getgid _getgid
884 #define getuid _getuid
885 #define ioctl _ioctl
886 #define link _link
887 #define mount _mount
888 #define mkdir _mkdir
889 #define mkfifo _mkfifo
890 #define mknod _mknod
891 #define open _open
892 #define pathconf _pathconf
893 #define ptrace _ptrace
894 #define readv _readv
895 #define rmdir _rmdir
896 #define setegid _setegid
897 #define seteuid _seteuid
898 #define setgid _setgid
899 #define setgroups _setgroups
900 #define setprogname _setprogname
901 #define setsid _setsid
902 #define setuid _setuid
903 #define shmat _shmat
904 #define shmdt _shmdt
905 #define shmget _shmget
906 #define shutdown _shutdown
907 #define sigreturn _sigreturn
908 #define socket _socket
909 #define socketpair _socketpair
910 #define symlink _symlink
911 #define sync _sync
912 #define stime _stime
913 #define umask _umask
914 #define umount _umount
915 #define umount2 _umount2
916 #define unlink _unlink
917 #define vm_remap _vm_remap
918 #define vm_unmap _vm_unmap
919 #define vm_getphys _vm_getphys
920 #define vm_getrefcount _vm_getrefcount
921 #define truncate _truncate
922 #define write _write
923 #define writev _writev
924 #define minix_mmap _minix_mmap
925 #define minix_munmap _minix_munmap
926 #define vfork __vfork14
927 #endif /* __minix */
929 #endif /* __weak_alias */
930 #endif /* !__lint__ */
932 #endif /* _NAMESPACE_H_ */