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

search for in the

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

view this page in

dio_close

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

dio_closefd で指定したファイル記述子を閉じる

説明

void dio_close ( resource $fd )

関数 dio_close() は、ファイル記述子 fd を閉じます。

パラメータ

fd

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

返り値

値を返しません。

例1 開いているファイル記述子を閉じる

<?php
$fd 
dio_open('/dev/ttyS0'O_RDWR);

dio_close($fd);
?>

参考



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

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