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

search for in the

dio_seek> <dio_open
Last updated: Fri, 26 Dec 2008

view this page in

dio_read

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

dio_read Lit les octets dans un fichier

Description

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

dio_read() lit et retourne len octets dans le fichier représenté par la ressource fd .

Liste de paramètres

fd

La ressource de fichier retournée par dio_open().

len

Le nombre d'octets à lire. Si le paramètre n'est pas spécifié, dio_read() lit un bloc de 1 ko.

Valeurs de retour

Les octets lus de fd .

Voir aussi



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, 26 Dec 2008
 
 
show source | credits | sitemap | contact | advertising | mirror sites