发信人: saka.bbs@bbs.neu.edu.cn (机器猫), 信区: cnlinux
标  题: perl(32)
发信站: 白山黑水BBS (Wed Apr  2 17:46:03 1997)
转信站: Lilac!ustcnews!ustcnews!sjtunews!neubbs
出  处: conger.neu.edu.cn

--------------43702E692CB
Content-Type: text/plain; charset=us-ascii; name="sysread.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="sysread.txt"

NAME

sysread - fixed-length unbuffered input from a filehandle

---------------------------------------------------------------------------

SYNOPSIS

sysread FILEHANDLE,SCALAR,LENGTH,OFFSET

sysread FILEHANDLE,SCALAR,LENGTH

---------------------------------------------------------------------------

DESCRIPTION

Attempts to read LENGTH bytes of data into variable SCALAR from the
specified FILEHANDLE, using the system call read(2). It bypasses stdio, so
mixing this with other kinds of reads may cause confusion. Returns the
number of bytes actually read, or undef if there was an error. SCALAR will
be grown or shrunk to the length actually read. An OFFSET may be specified
to place the read data at some other place than the beginning of the
string.

--------------43702E692CB--

--
※ 来源:.白山黑水站 bbs.neu.edu.cn.[FROM: ygh@rose.dlut.edu.cn]
[百宝箱] [返回首页] [上级目录] [根目录] [返回顶部] [刷新] [返回]
Powered by KBS BBS 2.0 (http://dev.kcn.cn)
页面执行时间:1.769毫秒