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

search for in the

Directories> <dio_truncate
[edit] Last updated: Fri, 17 May 2013

view this page in

dio_write

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

dio_write Scrive dati sul file indicato da fd con la possibilità di troncarne la lunghezza

Descrizione

int dio_write ( resource $fd , string $data [, int $len ] )

La funzione dio_write() scrive fino a len bytes da data nel file fd.

Elenco dei parametri

fd

Descrittore di file restituito da dio_open().

data

I dati scritti.

len

Lunghezza dei dati da scrivere in byte. Se non indicato, la funzione scrive tutti i dati nel file indicato.

Valori restituiti

La funzione restituisce il numero di byte scritti in fd.

Vedere anche:

  • dio_read() - Legge n bytes da un descrittore di file



add a note add a note User Contributed Notes dio_write - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites