1libc {
2  GLIBC_2.0 {
3    # global variables
4    _IO_list_all; _IO_stderr_; _IO_stdin_; _IO_stdout_;
5
6    # functions used in inline functions or macros
7    __getdelim;
8
9    # functions used in inline functions or macros
10    _IO_getc; _IO_peekc_unlocked; _IO_putc; _IO_feof; _IO_ferror;
11    __uflow; __underflow; __overflow;
12
13    # functions used in other libraries
14    __vsscanf; __vsnprintf;
15
16    # libio
17    _IO_adjust_column; _IO_clearerr; _IO_default_doallocate;
18    _IO_default_finish; _IO_default_pbackfail; _IO_default_uflow;
19    _IO_default_xsgetn; _IO_default_xsputn; _IO_do_write;
20    _IO_doallocbuf; _IO_fclose; _IO_fdopen; _IO_feof; _IO_ferror;
21    _IO_fflush; _IO_fgetc; _IO_fgetpos; _IO_fgets; _IO_file_attach;
22    _IO_file_close; _IO_file_close_it; _IO_file_doallocate;
23    _IO_file_fopen; _IO_file_init; _IO_file_jumps; _IO_file_open;
24    _IO_file_overflow; _IO_file_read; _IO_file_seek; _IO_file_seekoff;
25    _IO_file_setbuf; _IO_file_stat; _IO_file_sync; _IO_file_underflow;
26    _IO_file_write; _IO_file_xsputn; _IO_fileno; _IO_flockfile;
27    _IO_flush_all; _IO_flush_all_linebuffered; _IO_fopen; _IO_fprintf;
28    _IO_fputs; _IO_fread; _IO_free_backup_area; _IO_freopen;
29    _IO_fscanf; _IO_fseek; _IO_fsetpos; _IO_ftell; _IO_ftrylockfile;
30    _IO_funlockfile; _IO_fwrite; _IO_getc; _IO_getline; _IO_gets;
31    _IO_init; _IO_init_marker; _IO_link_in; _IO_marker_delta;
32    _IO_marker_difference; _IO_padn; _IO_pclose; _IO_peekc_locked;
33    _IO_perror; _IO_popen; _IO_printf; _IO_proc_close; _IO_proc_open;
34    _IO_putc; _IO_puts; _IO_remove_marker; _IO_rewind; _IO_scanf;
35    _IO_seekmark; _IO_seekoff; _IO_seekpos; _IO_setb; _IO_setbuf;
36    _IO_setbuffer; _IO_setlinebuf; _IO_setvbuf; _IO_sgetn;
37    _IO_sprintf; _IO_sputbackc; _IO_sscanf; _IO_str_init_readonly;
38    _IO_str_init_static; _IO_str_overflow; _IO_str_pbackfail;
39    _IO_str_seekoff; _IO_str_underflow; _IO_sungetc;
40    _IO_switch_to_get_mode; _IO_un_link; _IO_ungetc;
41    _IO_unsave_markers; _IO_vfprintf; _IO_vfscanf; _IO_vsprintf;
42
43    # variables in normal name space
44    stderr; stdin; stdout;
45
46    # c*
47    clearerr; clearerr_unlocked;
48
49    # f*
50    fclose; fcloseall; fdopen; feof; feof_locked; feof_unlocked; ferror;
51    ferror_locked; ferror_unlocked; fflush; fflush_locked; fflush_unlocked;
52    fgetc; fgetpos; fgets; fileno; fileno_locked; fileno_unlocked;
53    fopen; fopencookie; fputc; fputc_locked; fputc_unlocked; fputs;
54    fread; freopen; fseek; fsetpos; ftell; fwrite;
55
56    # g*
57    getc; getc_locked; getc_unlocked; getchar; getchar_unlocked; getdelim;
58    gets;
59
60    # o*
61    open_memstream; obstack_printf; obstack_vprintf;
62
63    # p*
64    pclose; popen; putc; putc_locked; putc_unlocked; putchar;
65    putchar_unlocked; puts;
66
67    # r*
68    rewind;
69
70    # s*
71    setbuf; setbuffer; setlinebuf; setvbuf;
72
73    # u*
74    ungetc;
75
76    # v*
77    vasprintf; vdprintf; vscanf; vsnprintf; vsprintf; vsscanf;
78  }
79  GLIBC_2.1 {
80    # global variables
81    _IO_2_1_stdin_; _IO_2_1_stdout_; _IO_2_1_stderr_;
82
83    # functions used in other libraries
84    _IO_fclose; _IO_fopen; _IO_fdopen; _IO_popen; __asprintf;
85
86    # functions used in libstdc++
87    _IO_do_write; _IO_file_attach; _IO_file_close_it; _IO_file_finish;
88    _IO_file_fopen; _IO_file_init; _IO_file_overflow; _IO_file_seekoff;
89    _IO_file_setbuf; _IO_file_sync; _IO_file_underflow;
90    _IO_file_write; _IO_file_xsputn; _IO_proc_open; _IO_proc_close;
91
92    # Changed getline function in libio.
93    _IO_getline_info;
94
95    _IO_fgetpos64;
96    _IO_fsetpos64;
97
98    # f*
99    fgetpos64; fopen64; freopen64; fseeko; fseeko64; fsetpos64; ftello;
100    ftello64; fopen; fclose; fdopen; fread_unlocked; fwrite_unlocked;
101    fgets_unlocked; fputs_unlocked; fgetc_unlocked;
102
103    # p*
104    pclose; popen;
105  }
106  GLIBC_2.2 {
107    # functions used in libstdc++
108    _IO_fgetpos; _IO_fgetpos64; _IO_fsetpos; _IO_fsetpos64;
109    _IO_wdo_write; _IO_wfile_jumps; _IO_wfile_overflow; _IO_wfile_seekoff;
110    _IO_wfile_setbuf; _IO_wfile_sync; _IO_wfile_underflow; _IO_wfile_xsputn;
111    _IO_adjust_wcolumn; _IO_free_wbackup_area; _IO_init_wmarker;
112    _IO_least_wmarker; _IO_seekwmark; _IO_sputbackwc; _IO_sungetwc;
113    _IO_switch_to_main_wget_area; _IO_switch_to_wbackup_area;
114    _IO_switch_to_wget_mode; _IO_unsave_wmarkers; _IO_wdefault_doallocate;
115    _IO_wdefault_finish; _IO_wdefault_pbackfail; _IO_wdefault_setbuf;
116    _IO_wdefault_uflow; _IO_wdefault_xsgetn; _IO_wdefault_xsputn;
117    _IO_wdoallocbuf; _IO_wmarker_delta; _IO_wsetb; __woverflow; __wuflow;
118    __wunderflow;
119
120    # LinuxThreads uses this protected interface
121    _IO_iter_begin; _IO_iter_end; _IO_iter_next; _IO_iter_file;
122    _IO_list_lock; _IO_list_unlock; _IO_list_resetlock;
123
124    # Functions to access FILE internals.
125    __fbufsize; __freading; __fwriting; __freadable; __fwritable; __flbf;
126    __fpurge; __fpending; __fsetlocking; _flushlbf;
127
128    # f*
129    fgetpos; fgetpos64; fgetwc; fgetwc_unlocked; fgetws; fgetws_unlocked;
130    fputwc; fputwc_unlocked; fputws; fputws_unlocked; fsetpos; fsetpos64;
131    fwide; fwprintf; fwscanf; fopencookie; fmemopen;
132
133    # g*
134    getwc; getwc_unlocked; getwchar; getwchar_unlocked;
135
136    # p*
137    putwc; putwc_unlocked; putwchar; putwchar_unlocked;
138
139    # s*
140    swprintf; swscanf;
141
142    # u*
143    ungetwc;
144
145    # v*
146    vfwprintf; vswprintf; vwprintf; vfwscanf; vswscanf; vwscanf;
147
148    # w*
149    wprintf; wscanf;
150  }
151  GLIBC_2.4 {
152    open_wmemstream;
153  }
154  GLIBC_2.22 {
155    # f*
156    fmemopen;
157  }
158  GLIBC_PRIVATE {
159    # Used by NPTL and librt
160    __libc_fatal;
161
162    # Used by NPTL
163    _IO_enable_locks;
164
165    __fseeko64;
166    __ftello64;
167  }
168}
169