array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'en', ), 'this' => array ( 0 => 'function.dio-read.php', 1 => 'dio_read', ), 'up' => array ( 0 => 'ref.dio.php', 1 => 'Direct IO Functions', ), 'prev' => array ( 0 => 'function.dio-open.php', 1 => 'dio_open', ), 'next' => array ( 0 => 'function.dio-seek.php', 1 => 'dio_seek', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/dio/functions/dio-read.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 4 >= 4.2.0, PHP 5 < 5.1.0)
dio_read — Reads bytes from a file descriptor
The function dio_read() reads and returns
len
bytes from file with descriptor
fd
.
fd
The file descriptor returned by dio_open().
len
The number of bytes to read. If not specified, dio_read() reads 1K sized block.
The bytes read from fd
.