PHP Manual
Prev |  | Next

# dio_read

(PHP 4 >= 4.2.0)

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 `resource`. If `n` is not specified, dio_read() reads 1K sized block and returns them.

Prev | Home | Next
dio_open | Up | dio_seek