0f6ef690b3
load of _l suffixed versions of various standard library functions that use the global locale, making them take an explicit locale parameter. Also adds support for per-thread locales. This work was funded by the FreeBSD Foundation. Please test any code you have that uses the C standard locale functions! Reviewed by: das (gdtoa changes) Approved by: dim (mentor)
199 lines
2.3 KiB
Plaintext
199 lines
2.3 KiB
Plaintext
/*
|
|
* $FreeBSD$
|
|
*/
|
|
|
|
FBSD_1.0 {
|
|
flockfile;
|
|
ftrylockfile;
|
|
funlockfile;
|
|
asprintf;
|
|
clearerr;
|
|
fclose;
|
|
fcloseall;
|
|
fdopen;
|
|
feof;
|
|
ferror;
|
|
fflush;
|
|
fgetc;
|
|
fgetln;
|
|
fgetpos;
|
|
fgets;
|
|
fgetwc;
|
|
fgetwln;
|
|
fgetws;
|
|
fileno;
|
|
__sF;
|
|
__stdinp;
|
|
__stdoutp;
|
|
__stderrp;
|
|
f_prealloc; /* deprecated??? */
|
|
fopen;
|
|
fprintf;
|
|
fpurge;
|
|
fputc;
|
|
fputs;
|
|
fputwc;
|
|
fputws;
|
|
fread;
|
|
freopen;
|
|
fscanf;
|
|
fseek;
|
|
fseeko;
|
|
fsetpos;
|
|
ftell;
|
|
ftello;
|
|
funopen;
|
|
fwide;
|
|
fwprintf;
|
|
fwrite;
|
|
fwscanf;
|
|
getc;
|
|
getchar;
|
|
gets;
|
|
getw;
|
|
getwc;
|
|
getwchar;
|
|
mkstemps;
|
|
mkstemp;
|
|
mkdtemp;
|
|
mktemp;
|
|
perror;
|
|
printf;
|
|
putc;
|
|
putchar;
|
|
puts;
|
|
putw;
|
|
putwc;
|
|
putwchar;
|
|
remove;
|
|
rewind;
|
|
__srget;
|
|
scanf;
|
|
setbuf;
|
|
setbuffer;
|
|
setlinebuf;
|
|
setvbuf;
|
|
snprintf;
|
|
sprintf;
|
|
sscanf;
|
|
swprintf;
|
|
swscanf;
|
|
tempnam;
|
|
tmpfile;
|
|
tmpnam;
|
|
ungetc;
|
|
ungetwc;
|
|
getchar_unlocked;
|
|
getc_unlocked;
|
|
putchar_unlocked;
|
|
putc_unlocked;
|
|
feof_unlocked;
|
|
ferror_unlocked;
|
|
clearerr_unlocked;
|
|
fileno_unlocked;
|
|
vasprintf;
|
|
vfprintf;
|
|
vfscanf;
|
|
vfwprintf;
|
|
vfwscanf;
|
|
vprintf;
|
|
vscanf;
|
|
vsnprintf;
|
|
vsprintf;
|
|
vsscanf;
|
|
vswprintf;
|
|
vswscanf;
|
|
vwprintf;
|
|
vwscanf;
|
|
__swbuf;
|
|
wprintf;
|
|
wscanf;
|
|
};
|
|
|
|
FBSD_1.1 {
|
|
dprintf;
|
|
getdelim;
|
|
getline;
|
|
vdprintf;
|
|
};
|
|
|
|
FBSD_1.3 {
|
|
asprintf_l;
|
|
fprintf_l;
|
|
fwprintf_l;
|
|
printf_l;
|
|
snprintf_l;
|
|
sprintf_l;
|
|
swprintf_l;
|
|
vasprintf_l;
|
|
vfprintf_l;
|
|
vfwprintf_l;
|
|
vprintf_l;
|
|
vsnprintf_l;
|
|
vsprintf_l;
|
|
vswprintf_l;
|
|
vwprintf_l;
|
|
wprintf_l;
|
|
fgetwc_l;
|
|
fputwc_l;
|
|
ungetwc_l;
|
|
vfwscanf_l;
|
|
vswscanf_l;
|
|
fscanf_l;
|
|
fwscanf_l;
|
|
scanf_l;
|
|
sscanf_l;
|
|
swscanf_l;
|
|
vfscanf_l;
|
|
vscanf_l;
|
|
vsscanf_l;
|
|
vwscanf_l;
|
|
wscanf_l;
|
|
fgetws_l;
|
|
fputws_l;
|
|
getwc_l;
|
|
getwchar_l;
|
|
putwc_l;
|
|
putwchar_l;
|
|
};
|
|
|
|
FBSDprivate_1.0 {
|
|
_flockfile;
|
|
_flockfile_debug_stub;
|
|
_flockfile_debug;
|
|
_ftrylockfile;
|
|
_funlockfile;
|
|
__vfscanf;
|
|
|
|
/*
|
|
* xprintf support
|
|
*/
|
|
__use_xprintf;
|
|
__lowercase_hex;
|
|
__uppercase_hex;
|
|
__printf_flush;
|
|
__printf_puts;
|
|
__printf_pad;
|
|
__printf_out;
|
|
__xvprintf;
|
|
register_printf_function;
|
|
register_printf_render;
|
|
register_printf_render_std;
|
|
__printf_arginfo_float;
|
|
__printf_render_float;
|
|
__printf_arginfo_hexdump;
|
|
__printf_render_hexdump;
|
|
__printf_arginfo_int;
|
|
__printf_render_int;
|
|
__printf_arginfo_ptr;
|
|
__printf_render_ptr;
|
|
__printf_arginfo_str;
|
|
__printf_render_str;
|
|
__printf_arginfo_chr;
|
|
__printf_render_chr;
|
|
__printf_arginfo_time;
|
|
__printf_render_time;
|
|
__printf_arginfo_vis;
|
|
__printf_render_vis;
|
|
};
|