note 79735 added to function.stream-set-blocking
| From: | Nicolas at osu1 dot php dot net | Date: | Mon, 10 Dec 2007 19:26:45 +0000 |
| Subject: | note 79735 added to function.stream-set-blocking | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-133308@lists.php.net to get a copy of this message | ||
Well, how on earth do I use B/NB mode? I'm inconsistently having fread block when there is
*some* data but not the full length I ask for. I want it to return as soon as there is at least 1
byte... but using fread($fp, 1) is quite inefficient.
----
Server IP: 190.2.55.3
Probable Submitter: 201.212.44.26
----
Manual Page -- http://www.php.net/manual/en/function.stream-set-blocking.php
Edit -- https://master.php.net/note/edit/79735
Del: integrated -- https://master.php.net/note/delete/79735/integrated
Del: useless -- https://master.php.net/note/delete/79735/useless
Del: bad code -- https://master.php.net/note/delete/79735/bad+code
Del: spam -- https://master.php.net/note/delete/79735/spam
Del: non-english -- https://master.php.net/note/delete/79735/non-english
Del: in docs -- https://master.php.net/note/delete/79735/in+docs
Del: other reasons-- https://master.php.net/note/delete/79735
Reject -- https://master.php.net/note/reject/79735
Search -- https://master.php.net/manage/user-notes.php