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

search for in the

ディレクトリ> <ダイレクト IO 関数
Last updated: Fri, 10 Oct 2008

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 ] )

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

パラメータ

fd

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

data

書き込むデータ。

len

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

返り値

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

参考



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

ディレクトリ> <ダイレクト IO 関数
Last updated: Fri, 10 Oct 2008
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites