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

--------------6E105B0537D1
Content-Type: text/plain; charset=us-ascii; name="read.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="read.txt"

NAME

read - fixed-length buffered input from a filehandle

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

SYNOPSIS

read FILEHANDLE,SCALAR,LENGTH,OFFSET

read FILEHANDLE,SCALAR,LENGTH

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

DESCRIPTION

Attempts to read LENGTH bytes of data into variable SCALAR from the
specified FILEHANDLE. 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. This call is actually
implemented in terms of stdio's fread call. To get a true read system call,
see sysread() .

--------------6E105B0537D1--

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