array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'ja', ), 'this' => array ( 0 => 'function.stream-set-blocking.php', 1 => 'stream_set_blocking', ), 'up' => array ( 0 => 'ref.stream.php', 1 => 'ストリーム 関数', ), 'prev' => array ( 0 => 'function.stream-select.php', 1 => 'stream_select', ), 'next' => array ( 0 => 'function.stream-set-chunk-size.php', 1 => 'stream_set_chunk_size', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'ja', 'path' => 'reference/stream/functions/stream-set-blocking.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 4 >= 4.3.0, PHP 5, PHP 7, PHP 8)
stream_set_blocking — ストリームのブロックモードを有効にする / 解除する
stream
のモードをブロックあるいは非ブロックに設定します。
この関数は、非ブロックモードをサポートするすべてのストリーム (現在は、通常のファイルストリームとソケットストリームのみ) において利用可能です。
注意:
Windowsでは、これはローカルファイルには影響しません。 ローカルファイルのノンブロッキングI/Oは、Windowsではサポートされていません。