Current File : //usr/local/apps/perl/lib/site_perl/5.30.0/x86_64-linux/libio.ph |
require '_h2ph_pre.ph';
no warnings qw(redefine misc);
unless(defined(&_IO_STDIO_H)) {
eval 'sub _IO_STDIO_H () {1;}' unless defined(&_IO_STDIO_H);
require '_G_config.ph';
eval 'sub _IO_pos_t () { &_G_fpos_t;}' unless defined(&_IO_pos_t);
eval 'sub _IO_fpos_t () { &_G_fpos_t;}' unless defined(&_IO_fpos_t);
eval 'sub _IO_fpos64_t () { &_G_fpos64_t;}' unless defined(&_IO_fpos64_t);
eval 'sub _IO_size_t () { &_G_size_t;}' unless defined(&_IO_size_t);
eval 'sub _IO_ssize_t () { &_G_ssize_t;}' unless defined(&_IO_ssize_t);
eval 'sub _IO_off_t () { &_G_off_t;}' unless defined(&_IO_off_t);
eval 'sub _IO_off64_t () { &_G_off64_t;}' unless defined(&_IO_off64_t);
eval 'sub _IO_pid_t () { &_G_pid_t;}' unless defined(&_IO_pid_t);
eval 'sub _IO_uid_t () { &_G_uid_t;}' unless defined(&_IO_uid_t);
eval 'sub _IO_iconv_t () { &_G_iconv_t;}' unless defined(&_IO_iconv_t);
eval 'sub _IO_HAVE_SYS_WAIT () { &_G_HAVE_SYS_WAIT;}' unless defined(&_IO_HAVE_SYS_WAIT);
eval 'sub _IO_HAVE_ST_BLKSIZE () { &_G_HAVE_ST_BLKSIZE;}' unless defined(&_IO_HAVE_ST_BLKSIZE);
eval 'sub _IO_BUFSIZ () { &_G_BUFSIZ;}' unless defined(&_IO_BUFSIZ);
eval 'sub _IO_va_list () { &_G_va_list;}' unless defined(&_IO_va_list);
eval 'sub _IO_wint_t () { &_G_wint_t;}' unless defined(&_IO_wint_t);
if(defined(&_G_NEED_STDARG_H)) {
eval 'sub __need___va_list () {1;}' unless defined(&__need___va_list);
require 'stdarg.ph';
if(defined(&__GNUC_VA_LIST)) {
undef(&_IO_va_list) if defined(&_IO_va_list);
eval 'sub _IO_va_list () { &__gnuc_va_list;}' unless defined(&_IO_va_list);
}
}
unless(defined(&__P)) {
if((defined(&_G_HAVE_SYS_CDEFS) ? &_G_HAVE_SYS_CDEFS : undef)) {
require 'sys/cdefs.ph';
} else {
if(defined(&__STDC__)) {
eval 'sub __P {
my($p) = @_;
eval q($p);
}' unless defined(&__P);
eval 'sub __PMT {
my($p) = @_;
eval q($p);
}' unless defined(&__PMT);
} else {
eval 'sub __P {
my($p) = @_;
eval q(());
}' unless defined(&__P);
eval 'sub __PMT {
my($p) = @_;
eval q(());
}' unless defined(&__PMT);
}
}
}
unless(defined(&_PARAMS)) {
eval 'sub _PARAMS {
my($protos) = @_;
eval q( &__P($protos));
}' unless defined(&_PARAMS);
}
unless(defined(&__STDC__)) {
unless(defined(&const)) {
eval 'sub const () {1;}' unless defined(&const);
}
}
eval 'sub _IO_UNIFIED_JUMPTABLES () {1;}' unless defined(&_IO_UNIFIED_JUMPTABLES);
unless(defined(&_G_HAVE_PRINTF_FP)) {
eval 'sub _IO_USE_DTOA () {1;}' unless defined(&_IO_USE_DTOA);
}
unless(defined(&EOF)) {
eval 'sub EOF () {(-1);}' unless defined(&EOF);
}
unless(defined(&NULL)) {
if(defined (&__GNUG__) && ((defined(&__GNUC__) ? &__GNUC__ : undef) > 2|| ((defined(&__GNUC__) ? &__GNUC__ : undef) == 2 && (defined(&__GNUC_MINOR__) ? &__GNUC_MINOR__ : undef) >= 8))) {
eval 'sub NULL () {( &__null);}' unless defined(&NULL);
} else {
if(!defined(&__cplusplus)) {
eval 'sub NULL () {(( &void*)0);}' unless defined(&NULL);
} else {
eval 'sub NULL () {(0);}' unless defined(&NULL);
}
}
}
eval 'sub _IOS_INPUT () {1;}' unless defined(&_IOS_INPUT);
eval 'sub _IOS_OUTPUT () {2;}' unless defined(&_IOS_OUTPUT);
eval 'sub _IOS_ATEND () {4;}' unless defined(&_IOS_ATEND);
eval 'sub _IOS_APPEND () {8;}' unless defined(&_IOS_APPEND);
eval 'sub _IOS_TRUNC () {16;}' unless defined(&_IOS_TRUNC);
eval 'sub _IOS_NOCREATE () {32;}' unless defined(&_IOS_NOCREATE);
eval 'sub _IOS_NOREPLACE () {64;}' unless defined(&_IOS_NOREPLACE);
eval 'sub _IOS_BIN () {128;}' unless defined(&_IOS_BIN);
eval 'sub _IO_MAGIC () {0xfbad0000;}' unless defined(&_IO_MAGIC);
eval 'sub _OLD_STDIO_MAGIC () {0xfabc0000;}' unless defined(&_OLD_STDIO_MAGIC);
eval 'sub _IO_MAGIC_MASK () {0xffff0000;}' unless defined(&_IO_MAGIC_MASK);
eval 'sub _IO_USER_BUF () {1;}' unless defined(&_IO_USER_BUF);
eval 'sub _IO_UNBUFFERED () {2;}' unless defined(&_IO_UNBUFFERED);
eval 'sub _IO_NO_READS () {4;}' unless defined(&_IO_NO_READS);
eval 'sub _IO_NO_WRITES () {8;}' unless defined(&_IO_NO_WRITES);
eval 'sub _IO_EOF_SEEN () {0x10;}' unless defined(&_IO_EOF_SEEN);
eval 'sub _IO_ERR_SEEN () {0x20;}' unless defined(&_IO_ERR_SEEN);
eval 'sub _IO_DELETE_DONT_CLOSE () {0x40;}' unless defined(&_IO_DELETE_DONT_CLOSE);
eval 'sub _IO_LINKED () {0x80;}' unless defined(&_IO_LINKED);
eval 'sub _IO_IN_BACKUP () {0x100;}' unless defined(&_IO_IN_BACKUP);
eval 'sub _IO_LINE_BUF () {0x200;}' unless defined(&_IO_LINE_BUF);
eval 'sub _IO_TIED_PUT_GET () {0x400;}' unless defined(&_IO_TIED_PUT_GET);
eval 'sub _IO_CURRENTLY_PUTTING () {0x800;}' unless defined(&_IO_CURRENTLY_PUTTING);
eval 'sub _IO_IS_APPENDING () {0x1000;}' unless defined(&_IO_IS_APPENDING);
eval 'sub _IO_IS_FILEBUF () {0x2000;}' unless defined(&_IO_IS_FILEBUF);
eval 'sub _IO_BAD_SEEN () {0x4000;}' unless defined(&_IO_BAD_SEEN);
eval 'sub _IO_USER_LOCK () {0x8000;}' unless defined(&_IO_USER_LOCK);
eval 'sub _IO_FLAGS2_MMAP () {1;}' unless defined(&_IO_FLAGS2_MMAP);
eval 'sub _IO_FLAGS2_NOTCANCEL () {2;}' unless defined(&_IO_FLAGS2_NOTCANCEL);
if(defined(&_LIBC)) {
eval 'sub _IO_FLAGS2_FORTIFY () {4;}' unless defined(&_IO_FLAGS2_FORTIFY);
}
eval 'sub _IO_FLAGS2_USER_WBUF () {8;}' unless defined(&_IO_FLAGS2_USER_WBUF);
if(defined(&_LIBC)) {
eval 'sub _IO_FLAGS2_SCANF_STD () {16;}' unless defined(&_IO_FLAGS2_SCANF_STD);
}
eval 'sub _IO_SKIPWS () {01;}' unless defined(&_IO_SKIPWS);
eval 'sub _IO_LEFT () {02;}' unless defined(&_IO_LEFT);
eval 'sub _IO_RIGHT () {04;}' unless defined(&_IO_RIGHT);
eval 'sub _IO_INTERNAL () {010;}' unless defined(&_IO_INTERNAL);
eval 'sub _IO_DEC () {020;}' unless defined(&_IO_DEC);
eval 'sub _IO_OCT () {040;}' unless defined(&_IO_OCT);
eval 'sub _IO_HEX () {0100;}' unless defined(&_IO_HEX);
eval 'sub _IO_SHOWBASE () {0200;}' unless defined(&_IO_SHOWBASE);
eval 'sub _IO_SHOWPOINT () {0400;}' unless defined(&_IO_SHOWPOINT);
eval 'sub _IO_UPPERCASE () {01000;}' unless defined(&_IO_UPPERCASE);
eval 'sub _IO_SHOWPOS () {02000;}' unless defined(&_IO_SHOWPOS);
eval 'sub _IO_SCIENTIFIC () {04000;}' unless defined(&_IO_SCIENTIFIC);
eval 'sub _IO_FIXED () {010000;}' unless defined(&_IO_FIXED);
eval 'sub _IO_UNITBUF () {020000;}' unless defined(&_IO_UNITBUF);
eval 'sub _IO_STDIO () {040000;}' unless defined(&_IO_STDIO);
eval 'sub _IO_DONT_CLOSE () {0100000;}' unless defined(&_IO_DONT_CLOSE);
eval 'sub _IO_BOOLALPHA () {0200000;}' unless defined(&_IO_BOOLALPHA);
if(defined(&_IO_MTSAFE_IO)) {
if(defined (&__GLIBC__) && (defined(&__GLIBC__) ? &__GLIBC__ : undef) >= 2) {
require 'bits/stdio-lock.ph';
} else {
}
} else {
}
if(0) {
}
eval("sub __codecvt_ok () { 0; }") unless defined(&__codecvt_ok);
eval("sub __codecvt_partial () { 1; }") unless defined(&__codecvt_partial);
eval("sub __codecvt_error () { 2; }") unless defined(&__codecvt_error);
eval("sub __codecvt_noconv () { 3; }") unless defined(&__codecvt_noconv);
if(defined (&_LIBC) || defined (&_GLIBCPP_USE_WCHAR_T)) {
}
eval 'sub _IO_file_flags () { &_flags;}' unless defined(&_IO_file_flags);
if(0) {
} else {
}
eval 'sub __HAVE_COLUMN () {1;}' unless defined(&__HAVE_COLUMN);
if(defined(&_IO_USE_OLD_IO_FILE)) {
}
if(defined (&_G_IO_IO_FILE_VERSION) && (defined(&_G_IO_IO_FILE_VERSION) ? &_G_IO_IO_FILE_VERSION : undef) == 0x20001) {
if(defined (&_LIBC) || defined (&_GLIBCPP_USE_WCHAR_T)) {
} else {
}
}
unless(defined(&__cplusplus)) {
}
unless(defined(&_LIBC)) {
eval 'sub _IO_stdin () {(( &_IO_FILE*)(& &_IO_2_1_stdin_));}' unless defined(&_IO_stdin);
eval 'sub _IO_stdout () {(( &_IO_FILE*)(& &_IO_2_1_stdout_));}' unless defined(&_IO_stdout);
eval 'sub _IO_stderr () {(( &_IO_FILE*)(& &_IO_2_1_stderr_));}' unless defined(&_IO_stderr);
} else {
}
if(defined(&_GNU_SOURCE)) {
}
if(defined(&__cplusplus)) {
}
if(defined (&_LIBC) || defined (&_GLIBCPP_USE_WCHAR_T)) {
}
if((defined(&__GNUC__) ? &__GNUC__ : undef) >= 3) {
eval 'sub _IO_BE {
my($expr, $res) = @_;
eval q( &__builtin_expect (($expr), $res));
}' unless defined(&_IO_BE);
} else {
eval 'sub _IO_BE {
my($expr, $res) = @_;
eval q(($expr));
}' unless defined(&_IO_BE);
}
eval 'sub _IO_getc_unlocked {
my($_fp) = @_;
eval q(( &_IO_BE (($_fp)-> &_IO_read_ptr >= ($_fp)-> &_IO_read_end, 0) ? &__uflow ($_fp) : * ($_fp)-> &_IO_read_ptr++));
}' unless defined(&_IO_getc_unlocked);
eval 'sub _IO_peekc_unlocked {
my($_fp) = @_;
eval q(( &_IO_BE (($_fp)-> &_IO_read_ptr >= ($_fp)-> &_IO_read_end, 0) && &__underflow ($_fp) == &EOF ? &EOF : * ($_fp)-> &_IO_read_ptr));
}' unless defined(&_IO_peekc_unlocked);
eval 'sub _IO_putc_unlocked {
my($_ch, $_fp) = @_;
eval q(( &_IO_BE (($_fp)-> &_IO_write_ptr >= ($_fp)-> &_IO_write_end, 0) ? &__overflow ($_fp, ($_ch)) : (*($_fp)-> &_IO_write_ptr++ = ($_ch))));
}' unless defined(&_IO_putc_unlocked);
if(defined (&_LIBC) || defined (&_GLIBCPP_USE_WCHAR_T)) {
eval 'sub _IO_getwc_unlocked {
my($_fp) = @_;
eval q(( &_IO_BE (($_fp)-> &_wide_data == &NULL || (($_fp)-> ($_wide_data->{_IO_read_ptr}) >= ($_fp)-> ($_wide_data->{_IO_read_end})), 0) ? &__wuflow ($_fp) : ( &_IO_wint_t) *($_fp)-> ($_wide_data->{_IO_read_ptr})++));
}' unless defined(&_IO_getwc_unlocked);
eval 'sub _IO_putwc_unlocked {
my($_wch, $_fp) = @_;
eval q(( &_IO_BE (($_fp)-> &_wide_data == &NULL || (($_fp)-> ($_wide_data->{_IO_write_ptr}) >= ($_fp)-> ($_wide_data->{_IO_write_end})), 0) ? &__woverflow ($_fp, $_wch) : ( &_IO_wint_t) (*($_fp)-> ($_wide_data->{_IO_write_ptr})++ = ($_wch))));
}' unless defined(&_IO_putwc_unlocked);
}
eval 'sub _IO_feof_unlocked {
my($__fp) = @_;
eval q(((($__fp)-> &_flags & &_IO_EOF_SEEN) != 0));
}' unless defined(&_IO_feof_unlocked);
eval 'sub _IO_ferror_unlocked {
my($__fp) = @_;
eval q(((($__fp)-> &_flags & &_IO_ERR_SEEN) != 0));
}' unless defined(&_IO_ferror_unlocked);
eval 'sub _IO_PENDING_OUTPUT_COUNT {
my($_fp) = @_;
eval q((($_fp)-> &_IO_write_ptr - ($_fp)-> &_IO_write_base));
}' unless defined(&_IO_PENDING_OUTPUT_COUNT);
if(defined(&_IO_MTSAFE_IO)) {
eval 'sub _IO_peekc {
my($_fp) = @_;
eval q( &_IO_peekc_locked ($_fp));
}' unless defined(&_IO_peekc);
eval 'sub _IO_flockfile {
my($_fp) = @_;
eval q( &if ((($_fp)-> &_flags & &_IO_USER_LOCK) == 0) &_IO_flockfile ($_fp));
}' unless defined(&_IO_flockfile);
eval 'sub _IO_funlockfile {
my($_fp) = @_;
eval q( &if ((($_fp)-> &_flags & &_IO_USER_LOCK) == 0) &_IO_funlockfile ($_fp));
}' unless defined(&_IO_funlockfile);
} else {
eval 'sub _IO_peekc {
my($_fp) = @_;
eval q( &_IO_peekc_unlocked ($_fp));
}' unless defined(&_IO_peekc);
eval 'sub _IO_flockfile {
my($_fp) = @_;
eval q();
}' unless defined(&_IO_flockfile);
eval 'sub _IO_funlockfile {
my($_fp) = @_;
eval q();
}' unless defined(&_IO_funlockfile);
eval 'sub _IO_ftrylockfile {
my($_fp) = @_;
eval q();
}' unless defined(&_IO_ftrylockfile);
eval 'sub _IO_cleanup_region_start {
my($_fct, $_fp) = @_;
eval q();
}' unless defined(&_IO_cleanup_region_start);
eval 'sub _IO_cleanup_region_end {
my($_Doit) = @_;
eval q();
}' unless defined(&_IO_cleanup_region_end);
}
if(defined (&_LIBC) || defined (&_GLIBCPP_USE_WCHAR_T)) {
if((defined(&__GNUC__) ? &__GNUC__ : undef) >= 2) {
if(defined (&_LIBC) && defined (&SHARED)) {
require 'shlib-compat.ph';
if( &SHLIB_COMPAT ((defined(&libc) ? &libc : undef), (defined(&GLIBC_2_0) ? &GLIBC_2_0 : undef), (defined(&GLIBC_2_1) ? &GLIBC_2_1 : undef))) {
eval 'sub _IO_fwide_maybe_incompatible () {( &__builtin_expect (& &_IO_stdin_used == &NULL, 0));}' unless defined(&_IO_fwide_maybe_incompatible);
}
}
unless(defined(&_IO_fwide_maybe_incompatible)) {
eval 'sub _IO_fwide_maybe_incompatible () {(0);}' unless defined(&_IO_fwide_maybe_incompatible);
}
eval 'sub _IO_fwide {
my($__fp, $__mode) = @_;
eval q(({ \'int\' &__result = ($__mode); &if ( &__result < 0 && ! &_IO_fwide_maybe_incompatible) { &if (($__fp)-> &_mode == 0) ($__fp)-> &_mode = -1; &__result = ($__fp)-> &_mode; } &else &if ( &__builtin_constant_p ($__mode) && ($__mode) == 0) &__result = &_IO_fwide_maybe_incompatible ? -1: ($__fp)-> &_mode; &else &__result = &_IO_fwide ($__fp, &__result); &__result; }));
}' unless defined(&_IO_fwide);
}
}
if(defined(&__LDBL_COMPAT)) {
require 'bits/libio-ldbl.ph';
}
if(defined(&__cplusplus)) {
}
}
1;