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

search for in the

ディレクトリ> <dio_truncate
Last updated: Fri, 13 Nov 2009

view this page in

dio_write

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

dio_write オプションで丸め長さを指定してデータを書き込む

説明

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

dio_write() は、data から最大 len バイトを ファイル fd に書き込みます。

パラメータ

fd

dio_open() が返すファイル記述子。

data

書き込むデータ。

len

書き込むデータのバイト長。指定しなかった場合は、データ全体を 指定したファイルに書き込みます。

返り値

fd に書き込んだバイト数を返します。

参考

  • dio_read() - ファイル記述子からバイトデータを読み込む



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

ディレクトリ> <dio_truncate
Last updated: Fri, 13 Nov 2009
 
 
show source | credits | sitemap | contact | advertising | mirror sites