亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? handle.pm

?? UNIX下perl實現代碼
?? PM
?? 第 1 頁 / 共 2 頁
字號:
package IO::Handle;=head1 NAMEIO::Handle - supply object methods for I/O handles=head1 SYNOPSIS    use IO::Handle;    $io = new IO::Handle;    if ($io->fdopen(fileno(STDIN),"r")) {        print $io->getline;        $io->close;    }    $io = new IO::Handle;    if ($io->fdopen(fileno(STDOUT),"w")) {        $io->print("Some text\n");    }    use IO::Handle '_IOLBF';    $io->setvbuf($buffer_var, _IOLBF, 1024);    undef $io;       # automatically closes the file if it's open    autoflush STDOUT 1;=head1 DESCRIPTIONC<IO::Handle> is the base class for all other IO handle classes. It isnot intended that objects of C<IO::Handle> would be created directly,but instead C<IO::Handle> is inherited from by several other classesin the IO hierarchy.If you are reading this documentation, looking for a replacement forthe C<FileHandle> package, then I suggest you read the documentationfor C<IO::File> too.=head1 CONSTRUCTOR=over 4=item new ()Creates a new C<IO::Handle> object.=item new_from_fd ( FD, MODE )Creates a C<IO::Handle> like C<new> does.It requires two parameters, which are passed to the method C<fdopen>;if the fdopen fails, the object is destroyed. Otherwise, it is returnedto the caller.=back=head1 METHODSSee L<perlfunc> for complete descriptions of each of the followingsupported C<IO::Handle> methods, which are just front ends for thecorresponding built-in functions:    $io->close    $io->eof    $io->fileno    $io->format_write( [FORMAT_NAME] )    $io->getc    $io->read ( BUF, LEN, [OFFSET] )    $io->print ( ARGS )    $io->printf ( FMT, [ARGS] )    $io->stat    $io->sysread ( BUF, LEN, [OFFSET] )    $io->syswrite ( BUF, [LEN, [OFFSET]] )    $io->truncate ( LEN )See L<perlvar> for complete descriptions of each of the followingsupported C<IO::Handle> methods.  All of them return the previousvalue of the attribute and takes an optional single argument that whengiven will set the value.  If no argument is given the previous valueis unchanged (except for $io->autoflush will actually turn ONautoflush by default).    $io->autoflush ( [BOOL] )                         $|    $io->format_page_number( [NUM] )                  $%    $io->format_lines_per_page( [NUM] )               $=    $io->format_lines_left( [NUM] )                   $-    $io->format_name( [STR] )                         $~    $io->format_top_name( [STR] )                     $^    $io->input_line_number( [NUM])                    $.The following methods are not supported on a per-filehandle basis.    IO::Handle->format_line_break_characters( [STR] ) $:    IO::Handle->format_formfeed( [STR])               $^L    IO::Handle->output_field_separator( [STR] )       $,    IO::Handle->output_record_separator( [STR] )      $\    IO::Handle->input_record_separator( [STR] )       $/Furthermore, for doing normal I/O you might need these:=over =item $io->fdopen ( FD, MODE )C<fdopen> is like an ordinary C<open> except that its first parameteris not a filename but rather a file handle name, a IO::Handle object,or a file descriptor number.=item $io->openedReturns true if the object is currently a valid file descriptor, falseotherwise.=item $io->getlineThis works like <$io> described in L<perlop/"I/O Operators">except that it's more readable and can be safely called in alist context but still returns just one line.=item $io->getlinesThis works like <$io> when called in a list context to read allthe remaining lines in a file, except that it's more readable.It will also croak() if accidentally called in a scalar context.=item $io->ungetc ( ORD )Pushes a character with the given ordinal value back onto the givenhandle's input stream.  Only one character of pushback per handle isguaranteed.=item $io->write ( BUF, LEN [, OFFSET ] )This C<write> is like C<write> found in C, that is it is theopposite of read. The wrapper for the perl C<write> function iscalled C<format_write>.=item $io->errorReturns a true value if the given handle has experienced any errorssince it was opened or since the last call to C<clearerr>, or if thehandle is invalid. It only returns false for a valid handle with nooutstanding errors.=item $io->clearerrClear the given handle's error indicator. Returns -1 if the handle isinvalid, 0 otherwise.=item $io->syncC<sync> synchronizes a file's in-memory state  with  that  on thephysical medium. C<sync> does not operate at the perlio api level, butoperates on the file descriptor (similar to sysread, sysseek andsystell). This means that any data held at the perlio api level will notbe synchronized. To synchronize data that is buffered at the perlio apilevel you must use the flush method. C<sync> is not implemented on allplatforms. Returns "0 but true" on success, C<undef> on error, C<undef>for an invalid handle. See L<fsync(3c)>.=item $io->flushC<flush> causes perl to flush any buffered data at the perlio api level.Any unread data in the buffer will be discarded, and any unwritten datawill be written to the underlying file descriptor. Returns "0 but true"on success, C<undef> on error.=item $io->printflush ( ARGS )Turns on autoflush, print ARGS and then restores the autoflush status of theC<IO::Handle> object. Returns the return value from print.=item $io->blocking ( [ BOOL ] )If called with an argument C<blocking> will turn on non-blocking IO ifC<BOOL> is false, and turn it off if C<BOOL> is true.C<blocking> will return the value of the previous setting, or thecurrent setting if C<BOOL> is not given. If an error occurs C<blocking> will return undef and C<$!> will be set.=backIf the C functions setbuf() and/or setvbuf() are available, thenC<IO::Handle::setbuf> and C<IO::Handle::setvbuf> set the bufferingpolicy for an IO::Handle.  The calling sequences for the Perl functionsare the same as their C counterparts--including the constants C<_IOFBF>,C<_IOLBF>, and C<_IONBF> for setvbuf()--except that the buffer parameterspecifies a scalar variable to use as a buffer. You should onlychange the buffer before any I/O, or immediately after calling flush.WARNING: A variable used as a buffer by C<setbuf> or C<setvbuf> B<must notbe modified> in any way until the IO::Handle is closed or C<setbuf> orC<setvbuf> is called again, or memory corruption may result! Remember thatthe order of global destruction is undefined, so even if your buffervariable remains in scope until program termination, it may be undefinedbefore the file IO::Handle is closed. Note that you need to import theconstants C<_IOFBF>, C<_IOLBF>, and C<_IONBF> explicitly. Like C, setbufreturns nothing. setvbuf returns "0 but true", on success, C<undef> onfailure.Lastly, there is a special method for working under B<-T> and setuid/gidscripts:=over=item $io->untaintMarks the object as taint-clean, and as such data read from it will alsobe considered taint-clean. Note that this is a very trusting action totake, and appropriate consideration for the data source and potentialvulnerability should be kept in mind. Returns 0 on success, -1 if settingthe taint-clean flag failed. (eg invalid handle)=back=head1 NOTEA C<IO::Handle> object is a reference to a symbol/GLOB reference (seethe C<Symbol> package).  Some modules thatinherit from C<IO::Handle> may want to keep object related variablesin the hash table part of the GLOB. In an attempt to prevent modulestrampling on each other I propose the that any such module should prefixits variables with its own name separated by _'s. For example the IO::Socketmodule keeps a C<timeout> variable in 'io_socket_timeout'.=head1 SEE ALSOL<perlfunc>, L<perlop/"I/O Operators">,L<IO::File>=head1 BUGSDue to backwards compatibility, all filehandles resemble objectsof class C<IO::Handle>, or actually classes derived from that class.They actually aren't.  Which means you can't derive your own class from C<IO::Handle> and inherit those methods.=head1 HISTORYDerived from FileHandle.pm by Graham Barr E<lt>F<gbarr@pobox.com>E<gt>=cutrequire 5.005_64;use strict;our($VERSION, @EXPORT_OK, @ISA);use Carp;use Symbol;use SelectSaver;use IO ();	# Load the XS modulerequire Exporter;@ISA = qw(Exporter);$VERSION = "1.21";@EXPORT_OK = qw(    autoflush    output_field_separator    output_record_separator    input_record_separator    input_line_number    format_page_number    format_lines_per_page    format_lines_left    format_name    format_top_name    format_line_break_characters    format_formfeed    format_write    print    printf    getline    getlines    printflush    flush    SEEK_SET    SEEK_CUR    SEEK_END    _IOFBF    _IOLBF    _IONBF);################################################## Constructors, destructors.##sub new {    my $class = ref($_[0]) || $_[0] || "IO::Handle";    @_ == 1 or croak "usage: new $class";    my $io = gensym;    bless $io, $class;}sub new_from_fd {    my $class = ref($_[0]) || $_[0] || "IO::Handle";    @_ == 3 or croak "usage: new_from_fd $class FD, MODE";

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
色婷婷激情久久| 狠狠色狠狠色合久久伊人| 欧美国产精品一区| 久久久精品中文字幕麻豆发布| 日韩视频永久免费| 日韩欧美中文字幕一区| 日韩欧美电影在线| 欧美精品一区二区三| 久久久久久久久久美女| 中文字幕成人网| 亚洲日本电影在线| 亚洲国产精品影院| 美女一区二区三区| 国产乱码精品一区二区三区五月婷| 久久91精品国产91久久小草| 国产精品小仙女| av一区二区久久| 欧美午夜在线一二页| 91精品国产入口| 久久伊人蜜桃av一区二区| 国产精品视频麻豆| 亚洲欧美另类在线| 奇米一区二区三区| www.亚洲人| 欧美人与z0zoxxxx视频| 久久欧美一区二区| 一区二区免费看| 久久精品二区亚洲w码| 成人久久久精品乱码一区二区三区| 99国产精品国产精品久久| 欧美日韩大陆一区二区| 久久久91精品国产一区二区三区| 中文字幕一区二区不卡| 亚洲国产欧美日韩另类综合| 国产呦精品一区二区三区网站| 99久久精品国产导航| 911精品国产一区二区在线| 久久综合色之久久综合| 亚洲一区自拍偷拍| 国产精品456露脸| 欧美老肥妇做.爰bbww| 欧美激情一区不卡| 麻豆精品视频在线观看视频| 色乱码一区二区三区88| 久久久国产一区二区三区四区小说 | 一区二区理论电影在线观看| 久久国产剧场电影| 欧美午夜精品一区二区三区| 久久久精品国产免大香伊| 日日噜噜夜夜狠狠视频欧美人 | 91丨九色丨蝌蚪富婆spa| 欧美成人官网二区| 亚洲超碰97人人做人人爱| 粉嫩绯色av一区二区在线观看| 91精品国产综合久久久久久久 | 欧美日韩黄色影视| 成人免费一区二区三区在线观看| 久久精品国产精品亚洲红杏| 欧美午夜精品久久久| 亚洲欧洲国产专区| 国产91精品在线观看| 精品久久久久久久人人人人传媒| 亚洲综合视频在线| 色哟哟精品一区| 亚洲视频小说图片| 成人ar影院免费观看视频| 久久亚洲一区二区三区明星换脸| 首页综合国产亚洲丝袜| 欧美在线观看你懂的| 亚洲精品中文字幕乱码三区| 不卡欧美aaaaa| 中文字幕不卡在线观看| 粗大黑人巨茎大战欧美成人| 精品国产一区二区精华| 久久成人羞羞网站| 精品少妇一区二区三区在线播放 | 国产精品久久久久一区二区三区| 国产传媒日韩欧美成人| 久久久国产综合精品女国产盗摄| 国产美女在线精品| 国产午夜亚洲精品羞羞网站| 国产美女娇喘av呻吟久久| 国产日韩欧美在线一区| 成人小视频免费观看| 亚洲欧洲精品一区二区精品久久久| 国产不卡免费视频| 中文字幕亚洲欧美在线不卡| 99久久综合国产精品| 最新成人av在线| 欧美日韩一区不卡| 麻豆精品蜜桃视频网站| 久久女同性恋中文字幕| 成人黄色免费短视频| 亚洲视频一二三区| 亚洲自拍偷拍av| 成人涩涩免费视频| 国产欧美精品日韩区二区麻豆天美| 久久99国产精品久久99| 久久色视频免费观看| jiyouzz国产精品久久| 亚洲一线二线三线久久久| 91精品国产色综合久久久蜜香臀| 蜜臀精品久久久久久蜜臀 | 国产精品一区二区在线观看不卡| 国产亚洲福利社区一区| 91福利区一区二区三区| 日本va欧美va精品| 国产精品系列在线| 欧美日韩国产影片| 久久精品人人做| 成人毛片在线观看| 亚洲在线视频免费观看| 国产欧美视频在线观看| 在线中文字幕一区| 紧缚奴在线一区二区三区| 亚洲丝袜另类动漫二区| 日韩一级成人av| 91在线视频网址| 国产精品原创巨作av| 一区二区在线观看视频| 久久精品亚洲精品国产欧美| 欧美性猛交一区二区三区精品 | 国产福利电影一区二区三区| 亚洲午夜精品一区二区三区他趣| 欧美成人精品福利| 欧美日韩综合在线| 成人av电影在线观看| 久久国内精品视频| 亚洲二区在线观看| 亚洲女同ⅹxx女同tv| 国产女同互慰高潮91漫画| 欧美一区二区三区性视频| 一本大道久久精品懂色aⅴ| 国产一区二区三区四区五区美女 | 国产视频一区在线观看| 日韩欧美黄色影院| 欧美人体做爰大胆视频| 日本精品免费观看高清观看| 成人午夜在线视频| 国产乱码精品一区二区三区五月婷| 日韩av成人高清| 日韩精品欧美精品| 五月天中文字幕一区二区| 亚洲三级在线播放| 自拍偷在线精品自拍偷无码专区| 久久久国产精品午夜一区ai换脸| 精品乱人伦小说| 日韩精品综合一本久道在线视频| 欧美调教femdomvk| 色婷婷综合久久久久中文| 96av麻豆蜜桃一区二区| 99精品一区二区| 91在线观看视频| 日本电影欧美片| 欧洲生活片亚洲生活在线观看| 色婷婷精品大在线视频| 91精彩视频在线观看| 欧美视频你懂的| 91精品国产色综合久久不卡电影 | 日韩精品视频网站| 日本成人在线一区| 免费成人av在线播放| 麻豆视频观看网址久久| 国内外成人在线视频| 国产精品18久久久久| 国产91高潮流白浆在线麻豆| 成人动漫视频在线| 色哦色哦哦色天天综合| 欧美日韩精品一区二区三区蜜桃| 久久嫩草精品久久久精品| 久久久青草青青国产亚洲免观| 国产视频一区二区在线| 亚洲天堂免费在线观看视频| 亚洲国产日韩在线一区模特| 青青草国产精品亚洲专区无| 九九在线精品视频| av在线不卡观看免费观看| 欧美亚洲一区二区在线观看| 日韩一级完整毛片| 国产精品视频第一区| 亚洲国产综合色| 国产一区999| 欧美丝袜丝交足nylons图片| 91精品国产品国语在线不卡| 国产日韩欧美亚洲| 亚洲一区二区三区四区不卡| 九九九精品视频| 91女厕偷拍女厕偷拍高清| 91精品中文字幕一区二区三区| 久久一区二区三区四区| 亚洲精品免费在线观看| 久久99精品久久久久久动态图| av资源网一区| 日韩免费视频一区| 一区二区三区在线视频免费| 精品无人码麻豆乱码1区2区| 在线日韩av片| 欧美激情一区二区三区| 免费观看日韩av| 91黄视频在线观看|