Manual do PHP
Anterior |  | Próxima

# dio_read

(PHP 4 >= 4.2.0, PHP 5)

dio_read -- Reads n bytes from fd and returns them, if n is not specified, reads 1k block

## Description

string dio_read ( resource fd [, int n] )

The function dio_read() reads and returns n bytes from file with descriptor fd. If n is not specified, dio_read() reads 1K sized block and returns them.

See also: dio_write().

Anterior | Principal | Próxima
dio_open | Acima | dio_seek