PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

dio_seek> <dio_open
Last updated: Fri, 11 Apr 2008

view this page in

dio_read

(PHP 4 >= 4.2.0, PHP 5 <= 5.0.5)

dio_read — Legge n bytes da un descrittore di file

Descrizione

string dio_read ( resource $fd [, int $len ] )

La funzione dio_read() legge e restituisce len bytes dal file indicato dal descrittore fd .

Elenco dei parametri

fd

Descrittore di file restituito da dio_open().

len

Numero di byte da leggere. Se non indicato dio_read() legge blocchi da un 1k.

Valori restituiti

I byte letti da fd .

Vedere anche:



add a note add a note User Contributed Notes
dio_read
matt at vhub dot com
18-May-2006 07:48
Note that dio_read on Windows (other platforms unknown) will not timeout if there is no data to read. There is no way to specify a timeout or do a non-blocking read on Windows.

dio_seek> <dio_open
Last updated: Fri, 11 Apr 2008
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites