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, 22 Aug 2008

view this page in

dio_read

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

dio_read Lee bytes del archivo cuyo descriptor se pasa como parámetro.

Descripción

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

La función dio_read() lee y devuelve len bytes del archivo cuyo descriptor es fd .

Lista de parámetros

fd

El descriptor de archivo devuelto por dio_open().

len

El número de bytes a leer. Si no se especifica su valor, dio_read() lee hasta 1024 bytes.

Valores retornados

Los bytes leidos del archivo cuyo descriptor es fd .

Ver también



add a note add a note User Contributed Notes
dio_read
matt at vhub dot com
19-May-2006 04: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, 22 Aug 2008
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites