Add __xpg_basename.
[kopensolaris-gnu/glibc.git] / libc.map
1 GLIBC_2.0 {
2   global:
3     # global variables
4     _errno; _itoa_lower_digits; _itoa_upper_digits;
5     __ctype_b; __ctype_tolower; __ctype_toupper;
6     _IO_stderr_; _IO_stdin_; _IO_stdout_;
7     _nl_msg_cat_cntr; __environ; _environ; _res;
8     ___brk_addr; __curbrk; _nl_current_LC_CTYPE; _libc_intl_domainname;
9     _sys_errlist; _sys_siglist; __progname; _nl_default_dirname;
10     __timezone; __daylight; __tzname;
11     _nl_current_LC_COLLATE; __collate_element_hash;
12     __collate_element_strings; __collate_symbol_classes;
13     __collate_symbol_hash; __collate_symbol_strings;
14     _obstack; _libio_using_thunks;
15     __progname_full; __progname;
16
17     # helper functions
18     __errno_location; __libc_init_first; __h_errno_location;
19
20     # functions with special/multiple interfaces
21     __sigsetjmp; _setjmp; __sigaddset; __sigdelset; __sigismember;
22     __sysv_signal; __bsd_getpgrp; _longjmp; _mcount;
23     __divqu; __remqu; __divqs; __remqs; __divlu; __remlu; __divls;
24     __remls;
25
26     # functions which have an additional interface since they are
27     # are cancelable.
28     __libc_wait; __libc_waitpid; __libc_pause; __libc_nanosleep;
29     __libc_open; __libc_close; __libc_read; __libc_write;
30     __libc_lseek; __libc_fcntl; __libc_tcdrain; __libc_fsync;
31     __libc_msync; __libc_system;
32
33     # interface of malloc functions
34     __libc_calloc; __libc_free; __libc_mallinfo; __libc_malloc;
35     __libc_mallopt; __libc_memalign; __libc_pvalloc; __libc_realloc;
36     __libc_valloc;
37     __malloc_initialize_hook; __free_hook; __malloc_hook; __realloc_hook;
38     __memalign_hook; __after_morecore_hook;
39     __malloc_initialized; __default_morecore; __morecore;
40
41     # functions with required interface outside normal name space
42     _exit; __ivaliduser; __open_catalog;
43     __argz_count; __argz_stringify; __argz_next;
44     __check_rhosts_file; __rcmd_errstr; __xpg_basename;
45
46     # functions from the experimental locale implementation
47     __*_l; __newlocale; __duplocale; __freelocale;
48
49     # functions used in inline functions or macros
50     __strto*_internal; __wcsto*_internal; __getdelim;
51     __isnan; __isnanf; __isnanl; __finite; __finitef; __finitel;
52     __isinf; __isinff; __isinfl;
53     __signbit; __signbitf; __signbitl; __cmsg_nxthdr;
54     _obstack_allocated_p; _obstack_begin; _obstack_begin_1;
55     _obstack_free; _obstack_memory_used; _obstack_newchunk;
56     __assert_fail; __assert_perror_fail;
57     _IO_getc; _IO_peekc_unlocked; _IO_putc; _IO_feof; _IO_ferror;
58     __xstat; __fxstat; __lxstat; __xmknod; __dcgettext;
59     __uflow; __underflow; __overflow; __iswctype; __sigpause;
60     __ctype_get_mb_cur_max;
61
62     # functions used in other libraries
63     __printf_fp; __stpncpy;
64     _nss_files_parse_grent; _nss_files_parse_pwent; _nss_files_parse_spent;
65     __nss_database_lookup; __internal_endnetgrent; __internal_getnetgrent_r;
66     __internal_setnetgrent; __gmtime_r; __secure_getenv;
67     __select; __sched_get_priority_max; __sched_get_priority_min;
68     __sched_getparam; __sched_getscheduler; __sched_setscheduler;
69     __sched_yield; __on_exit; __gettimeofday; __fork; __clone;
70     __nss_configure_lookup; _dl_open; _dl_close; _IO_file_setbuf;
71     _IO_file_init; _IO_file_attach; _IO_do_write; _IO_seekoff;
72     _IO_link_in; _IO_file_open; _IO_file_doallocate; _IO_file_fopen;
73     _IO_file_overflow; _IO_file_underflow; _IO_file_sync; _IO_file_seekoff;
74     _IO_file_close_it; _IO_file_read; _IO_file_seek; _IO_file_write;
75     _IO_file_stat; _IO_file_close; _IO_file_xsputn; _IO_sgetn;
76     _IO_seekpos; _IO_padn; _IO_getline; _IO_vfprintf;
77     _IO_proc_open; _IO_proc_close; _IO_vfscanf; _IO_free_backup_area;
78     _IO_un_link; _IO_switch_to_get_mode; _IO_default_uflow;
79     _IO_default_xsputn; _IO_default_xsgetn; _IO_default_pbackfail;
80     _IO_setb; _IO_default_doallocate; _IO_doallocbuf; _IO_init;
81     _IO_default_finish; _IO_sputbackc; _IO_sungetc; _IO_adjust_column;
82     _IO_flush_all; _IO_flush_all_linebuffered; _IO_init_marker;
83     _IO_remove_marker; _IO_marker_difference; _IO_marker_delta;
84     _IO_seekmark; _IO_unsave_markers; _IO_str_overflow;
85     _IO_str_underflow; _IO_str_init_static; _IO_str_init_readonly;
86     _IO_str_seekoff; _IO_str_pbackfail; _IO_list_all; _IO_file_jumps;
87     _IO_peekc_locked;
88     __vsscanf; __vfscanf; __vsnprintf;
89     _rpc_dtablesize; _null_auth; _seterr_reply;
90     __res_randomid;
91
92     # variables in normal name space
93     argp_err_exit_status; argp_program_bug_address; argp_program_version;
94     argp_program_version_hook;
95     daylight;
96     environ;
97     errno; error_message_count; error_one_per_line; error_print_progname;
98     getdate_err;
99     h_errlist; h_errno; h_nerr;
100     in6addr_any; in6addr_loopback;
101     loc1; loc2; locs;
102     mallwatch;
103     obstack_alloc_failed_handler; obstack_exit_failure;
104     optarg; opterr; optind; optopt;
105     program_invocation_name; program_invocation_short_name;
106     re_max_failures;  re_syntax_options; rexecoptions; rpc_createerr;
107     stderr; stdin; stdout; svc_fdset; svcauthdes_stats;
108     sys_errlist; sys_nerr; sys_sigabbrev; sys_siglist;
109     timezone; tzname;
110
111     # functions in normal name space
112     # Please keep them sorted by name!
113
114     # a*
115     a64l; abort; abs; accept; access; acct; addmntent; addseverity;
116     adjtime; adjtimex; advance; alarm; alphasort;
117
118     argp_error; argp_failure; argp_fmtstream_free; argp_fmtstream_point;
119     argp_fmtstream_printf; argp_fmtstream_putc; argp_fmtstream_puts;
120     argp_fmtstream_set_lmargin; argp_fmtstream_set_rmargin;
121     argp_fmtstream_set_wmargin; argp_fmtstream_write; argp_help;
122     argp_make_fmtstream; argp_parse; argp_state_help; argp_usage;
123
124     argz_add; argz_add_sep; argz_append; argz_count; argz_create;
125     argz_create_sep; argz_delete; argz_extract; argz_insert; argz_next;
126     argz_replace; argz_stringify;
127
128     asctime; asctime_r; asprintf; atexit; atof; atoi; atol; atoll;
129     authdes_create; authdes_getucred; authdes_pk_create; authnone_create;
130     authunix_create; authunix_create_default;
131
132     # b*
133     basename; bcmp; bcopy; bdflush; bind; bindresvport;
134     bindtextdomain; brk; bsd_signal; bsearch; btowc; bzero;
135
136     # c*
137     cachectl; cacheflush; calloc; callrpc; canonicalize_file_name;
138     catclose; catgets; catopen;
139     cbc_crypt; cfgetispeed; cfgetospeed; cfmakeraw; cfree;
140     cfsetispeed; cfsetospeed; cfsetspeed; chdir; chflags; chmod; chown;
141     chroot; clearenv; clearerr; clearerr_unlocked;
142
143     clnt_broadcast; clnt_create; clnt_pcreateerror; clnt_perrno;
144     clnt_perror; clnt_spcreateerror; clnt_sperrno; clnt_sperror;
145     clntraw_create; clnttcp_create; clntudp_bufcreate; clntudp_create;
146
147     clock; clone; close; closedir; closelog; confstr; connect; copysign;
148     copysignf; copysignl; creat; create_module; ctermid; ctime; ctime_r;
149     cuserid;
150
151     # d*
152     daemon; dcgettext; delete_module; des_setparity; dgettext;
153     difftime; dirfd; dirname; div; dprintf; drand48; drand48_r; dup; dup2;
154     dysize;
155
156     # e*
157     ecb_crypt; ecvt; ecvt_r; endaliasent; endfsent; endgrent; endhostent;
158     endmntent; endnetent; endnetgrent; endprotoent; endpwent; endrpcent;
159     endservent; endspent; endttyent; endusershell; endutent; endutxent;
160     envz_add; envz_entry; envz_get; envz_merge; envz_remove;
161     envz_strip; erand48; erand48_r; err; error; error_at_line; errx;
162
163     ether_aton; ether_aton_r; ether_hostton; ether_line; ether_ntoa;
164     ether_ntoa_r; ether_ntohost;
165
166     euidaccess; execl; execle; execlp; execv; execve; execvp; exit;
167
168     # f*
169     fchdir; fchflags; fchmod; fchown; fclose; fcloseall; fcntl; fcvt;
170     fcvt_r; fdatasync; fdopen; feof; feof_unlocked; ferror;
171     ferror_unlocked; fexecve; fflush; fflush_unlocked; ffs; fgetc;
172     fgetgrent; fgetgrent_r; fgetpos; fgetpwent; fgetpwent_r; fgets;
173     fgetspent; fgetspent_r; fileno; fileno_unlocked; finite; finitef;
174     finitel; flock; flockfile; fmtmsg; fnmatch; fopen; fopencookie; fork;
175     fpathconf; fprintf; fputc; fputc_unlocked; fputs; fread; free;
176     freeaddrinfo; freopen; frexp; frexpf; frexpl; fscanf; fseek; fsetpos;
177     fstatfs; fsync; ftell; ftime; ftok; ftruncate; ftrylockfile;
178     fts_children; fts_close; fts_open; fts_read; fts_set; ftw;
179     funlockfile; fwrite;
180
181     # g*
182     gai_strerror; gcvt; get_avphys_pages; get_current_dir_name;
183     get_kernel_syms; get_myaddress; get_nprocs; get_nprocs_conf;
184     get_phys_pages; getaddrinfo; getaliasbyname; getaliasbyname_r;
185     getaliasent; getaliasent_r; getc; getc_unlocked; getchar;
186     getchar_unlocked; getcontext;
187     getcwd; getdate; getdate_r; getdelim; getdirentries;
188     getdomainname; getdtablesize; getegid; getenv; geteuid; getfsent;
189     getfsfile; getfsspec; getgid; getgrent; getgrent_r; getgrgid;
190     getgrgid_r; getgrnam; getgrnam_r; getgroups; gethostbyaddr;
191     gethostbyaddr_r; gethostbyname; gethostbyname2; gethostbyname2_r;
192     gethostbyname_r; gethostent; gethostent_r; gethostid; gethostname;
193     getitimer; getline; getlogin; getlogin_r; getmntent; getmntent_r;
194     getnameinfo; getnetbyaddr; getnetbyaddr_r; getnetbyname;
195     getnetbyname_r; getnetent; getnetent_r; getnetgrent; getnetgrent_r;
196     getnetname; getopt; getopt_long; getopt_long_only; getpagesize;
197     getpass; getpeername; getpgid; getpgrp; getpid; getppid; getpriority;
198     getprotobyname; getprotobyname_r; getprotobynumber;
199     getprotobynumber_r; getprotoent; getprotoent_r; getpublickey; getpw;
200     getpwent; getpwent_r; getpwnam; getpwnam_r; getpwuid; getpwuid_r;
201     getresgid; getresuid;
202     getrlimit; getrpcbyname; getrpcbyname_r; getrpcbynumber;
203     getrpcbynumber_r; getrpcent; getrpcent_r; getrpcport; getrusage; gets;
204     getsecretkey; getservbyname; getservbyname_r; getservbyport;
205     getservbyport_r; getservent; getservent_r; getsid; getsockname;
206     getsockopt; getspent; getspent_r; getspnam; getspnam_r; getsubopt;
207     gettext; gettimeofday; getttyent; getttynam; getuid; getusershell;
208     getutent; getutent_r; getutid; getutid_r; getutline; getutline_r;
209     getutxent; getutxid; getutxline; getw; getwd; glob; glob_pattern_p;
210     globfree; gmtime; gmtime_r; group_member; gsignal; gtty;
211
212     # h*
213     hasmntopt; hcreate; hcreate_r; hdestroy; hdestroy_r; herror;
214     host2netname; hsearch; hsearch_r; hstrerror; htonl; htons;
215
216     # i*
217     ieee_get_fp_control; ieee_set_fp_control;
218     if_freenameindex; if_indextoname; if_nameindex; if_nametoindex; index;
219     inet6_isipv4mapped; inet_addr; inet_aton; inet_lnaof; inet_makeaddr;
220     inet_netof; inet_network; inet_nsap_addr; inet_nsap_ntoa; inet_ntoa;
221     inet_ntop; inet_pton; init_module; initgroups; initstate; initstate_r;
222     innetgr; insque; ioctl; ioperm; iopl; iruserok;
223
224     isalnum; isalpha; isascii; isatty; isblank; iscntrl; isdigit;
225     isfdtype; isgraph; isinf; isinff; isinfl; islower; isnan; isnanf;
226     isnanl; isprint; ispunct; isspace; isupper; iswalnum; iswalpha;
227     iswblank; iswcntrl; iswctype; iswdigit; iswgraph; iswlower; iswprint;
228     iswpunct; iswspace; iswupper; iswxdigit; isxdigit;
229
230     # j*
231     jrand48; jrand48_r;
232
233     # k*
234     key_decryptsession; key_decryptsession_pk; key_encryptsession;
235     key_encryptsession_pk; key_gendes; key_get_conv; key_secretkey_is_set;
236     key_setnet; key_setsecret;
237
238     kill; killpg; klogctl;
239
240     # l*
241     l64a; labs; lchown; lckpwdf; lcong48; lcong48_r; ldexp; ldexpf;
242     ldexpl; ldiv; lfind; link; listen; llabs; lldiv; llseek; localeconv;
243     localtime; localtime_r; lockf; longjmp; lrand48; lrand48_r; lsearch;
244     lseek;
245
246     # m*
247     madvise;
248
249     mallinfo; malloc; malloc_get_state; malloc_set_state;
250     malloc_stats; malloc_trim; malloc_usable_size; mallopt;
251
252     mblen; mbrlen; mbrtowc; mbsinit; mbsnrtowcs; mbsrtowcs; mbstowcs;
253     mbtowc; mcheck; mcount;
254
255     memalign; memccpy; memchr; memcmp; memcpy; memfrob; memmem;
256     memmove; memset;
257
258     mkdir; mkfifo; mkstemp; mktemp; mktime; mlock;
259     mlockall; mmap; modf; modff; modfl; moncontrol; monstartup; mount;
260     mprobe; mprotect; mrand48; mrand48_r; mremap; msgctl; msgget; msgrcv;
261     msgsnd; msync; mtrace; munlock; munlockall; munmap; muntrace;
262
263     # n*
264     nanosleep; netname2host; netname2user; nftw; nfsservctl; nice; nl_langinfo;
265     nrand48; nrand48_r; ntohl; ntohs;
266
267     # o*
268     obstack_free; obstack_printf; obstack_vprintf; on_exit; open;
269     open_memstream; opendir; openlog;
270
271     # p*
272     parse_printf_format; passwd2des; pathconf; pause; pciconfig_read;
273     pciconfig_write; pclose; perror;
274     personality; pipe; pmap_getmaps; pmap_getport; pmap_rmtcall; pmap_set;
275     pmap_unset; poll; popen; printf; printf_size; printf_size_info;
276     profil; profil_counter; pselect; psignal;
277
278     pthread_attr_destroy;
279     pthread_attr_getdetachstate; pthread_attr_getinheritsched;
280     pthread_attr_getschedparam; pthread_attr_getschedpolicy;
281     pthread_attr_getscope; pthread_attr_init; pthread_attr_setdetachstate;
282     pthread_attr_setinheritsched; pthread_attr_setschedparam;
283     pthread_attr_setschedpolicy; pthread_attr_setscope;
284     pthread_cond_broadcast; pthread_cond_destroy; pthread_cond_init;
285     pthread_cond_signal; pthread_cond_wait; pthread_condattr_destroy;
286     pthread_condattr_init; pthread_equal; pthread_exit;
287     pthread_getschedparam; pthread_mutex_destroy; pthread_mutex_init;
288     pthread_mutex_lock; pthread_mutex_unlock;
289     pthread_mutexattr_getkind_np; pthread_mutexattr_setkind_np;
290     pthread_self; pthread_setcancelstate; pthread_setcanceltype;
291     pthread_setschedparam;
292
293     ptrace; putc; putc_unlocked; putchar;
294     putchar_unlocked; putenv; putpwent; puts; putspent; pututline;
295     pututxline; putw; pvalloc;
296
297     # q*
298     qecvt; qecvt_r; query_module; qfcvt; qfcvt_r; qgcvt; qsort; quotactl;
299
300     # r*
301     raise; rand; rand_r; random; random_r; rcmd;
302
303     re_comp; re_compile_fastmap; re_compile_pattern; re_exec; re_match;
304     re_match_2; re_search; re_search_2; re_set_registers; re_set_syntax;
305
306     read; readdir; readdir_r; readlink; readv; realloc; realpath; reboot;
307     recv; recvfrom; recvmsg; regcomp; regerror; regexec; regfree;
308     register_printf_function; registerrpc; remove; remque; rename;
309     res_init; revoke; rewind; rewinddir; rexec; rindex; rmdir; rpmatch;
310     rresvport; rtime; ruserok; ruserpass;
311
312     # s*
313     sbrk; scalbn; scalbnf; scalbnl; scandir; scanf;
314
315     sched_get_priority_max; sched_get_priority_min; sched_getparam;
316     sched_getscheduler; sched_rr_get_interval; sched_setparam;
317     sched_setscheduler; sched_yield;
318
319     seed48; seed48_r; seekdir; select;
320     semctl; semget; semop; send; sendmsg; sendto; setaliasent; setbuf;
321     setbuffer; setcontext;
322     setdomainname; setegid; setenv; seteuid; setfsent;
323     setfsgid; setfsuid; setgid; setgrent; setgroups; sethostent;
324     sethostid; sethostname; setitimer; setjmp; setlinebuf; setlocale;
325     setlogin; setlogmask; setmntent; setnetent; setnetgrent; setpgid;
326     setpgrp; setpriority; setprotoent; setpwent; setregid; setresgid;
327     setresuid; setreuid;
328     setrlimit; setrpcent; setservent; setsid; setsockopt; setspent;
329     setstate; setstate_r; settimeofday; setttyent; setuid; setusershell;
330     setutent; setutxent; setvbuf; sgetspent; sgetspent_r; shmat; shmctl;
331     shmdt; shmget; shutdown;
332
333     sigaction; sigaddset; sigaltstack; sigandset; sigblock; sigdelset;
334     sigemptyset; sigfillset; siggetmask; siginterrupt; sigisemptyset;
335     sigismember; siglongjmp; signal; sigorset; sigpause; sigpending;
336     sigprocmask; sigreturn; sigsetmask; sigstack; sigsuspend; sigvec;
337     sigwait;
338
339     sleep; snprintf; socket; socketpair; sprintf; srand; srand48;
340     srand48_r; srandom; srandom_r; sscanf; ssignal; sstk; statfs; step;
341     stime; stpcpy; stpncpy; strcasecmp; strcat; strchr; strcmp; strcoll;
342     strcpy; strcspn; strdup; strerror; strerror_r; strfmon; strfry;
343     strftime; strlen; strncasecmp; strncat; strncmp; strncpy; strndup;
344     strnlen; strpbrk; strptime; strrchr; strsep; strsignal; strspn;
345     strstr; strtod; strtof; strtok; strtok_r; strtol; strtold; strtoll;
346     strtoq; strtoul; strtoull; strtouq; strverscmp; strxfrm; stty;
347
348     svc_exit; svc_getreq; svc_getreqset; svc_register; svc_run;
349     svc_sendreply; svc_unregister; svcerr_auth; svcerr_decode;
350     svcerr_noproc; svcerr_noprog; svcerr_progvers; svcerr_systemerr;
351     svcerr_weakauth; svcfd_create; svcraw_create; svctcp_create;
352     svcudp_bufcreate; svcudp_create; svcudp_enablecache;
353
354     swab; swapoff; swapon; symlink; sync;
355     syscall; sysconf; sysctl; sysinfo; syslog; sysmips;
356     system;
357
358     # t*
359     tcdrain; tcflow; tcflush; tcgetattr; tcgetpgrp; tcsendbreak;
360     tcsetattr; tcsetpgrp; tdelete; tdestroy; telldir; tempnam; textdomain;
361     tfind; time; timegm; timelocal; times; tmpfile; tmpnam; tmpnam_r;
362
363     toascii; tolower; toupper; towctrans; towlower; towupper;
364     tr_break; truncate; tsearch; ttyname; ttyname_r; ttyslot; twalk;
365     tzset;
366
367     # u*
368     ualarm; ulckpwdf; ulimit; umask; umount; uname; ungetc; unlink;
369     unsetenv; updwtmp; uselib; user2netname; usleep; ustat; utime; utimes;
370     utmpname;
371
372     # v*
373     valloc; vasprintf; vdprintf; verr; verrx; versionsort; vfork;
374     vfprintf; vfscanf; vhangup; vlimit; vm86; vprintf; vscanf; vsnprintf;
375     vsprintf; vsscanf; vsyslog; vtimes; vwarn; vwarnx;
376
377     # w*
378     wait; wait3; wait4; waitpid; warn; warnx;
379
380     wcpcpy; wcpncpy; wcrtomb; wcscasecmp; wcscat; wcschr; wcscmp; wcscoll;
381     wcscpy; wcscspn; wcsdup; wcslen; wcsncasecmp; wcsncat; wcsncmp;
382     wcsncpy; wcsnrtombs; wcspbrk; wcsrchr; wcsrtombs; wcsspn; wcsstr;
383     wcstod; wcstof; wcstok; wcstol; wcstold; wcstoll; wcstombs; wcstoq;
384     wcstoul; wcstoull; wcstouq; wcswcs; wcswidth; wcsxfrm; wctob; wctomb;
385     wctrans; wctype; wcwidth;
386
387     wmemchr; wmemcmp; wmemcpy; wmemmove; wmemset;
388
389     wordexp; wordfree;
390
391     write; writev;
392
393     # x*
394     xdecrypt; xdr_accepted_reply; xdr_array; xdr_authdes_cred;
395     xdr_authdes_verf; xdr_authunix_parms; xdr_bool; xdr_bytes;
396     xdr_callhdr; xdr_callmsg; xdr_char; xdr_cryptkeyarg; xdr_cryptkeyarg2;
397     xdr_cryptkeyres; xdr_des_block; xdr_double; xdr_enum; xdr_float;
398     xdr_free; xdr_getcredres; xdr_int; xdr_key_netstarg; xdr_key_netstres;
399     xdr_keybuf; xdr_keystatus; xdr_long; xdr_netnamestr; xdr_netobj;
400     xdr_opaque; xdr_opaque_auth; xdr_pmap; xdr_pmaplist; xdr_pointer;
401     xdr_reference; xdr_rejected_reply; xdr_replymsg; xdr_rmtcall_args;
402     xdr_rmtcallres; xdr_short; xdr_sizeof; xdr_string; xdr_u_char; xdr_u_int;
403     xdr_u_long; xdr_u_short; xdr_union; xdr_unixcred; xdr_vector;
404     xdr_void; xdr_wrapstring; xdrmem_create; xdrrec_create;
405     xdrrec_endofrecord; xdrrec_eof; xdrrec_skiprecord; xdrstdio_create;
406     xencrypt; xprt_register; xprt_unregister;
407
408   local:
409     *;
410 };