Bug #14231: c-function select() please

From: Date: Mon, 26 Nov 2001 14:00:01 +0000
Subject: Bug #14231: c-function select() please
Groups: php.dev 
Request: Send a blank email to php-dev+get-71655@lists.php.net to get a copy of this message
From: php@korelstar.de Operating system: Linux 2.4 PHP version: 4.0.6 PHP Bug Type: Feature/Change Request Bug description: c-function select() please I'm not familiar with C, but I heard that the function "select" will help me with this problem: I have a fifo-pipe and want to read from it. But the scripts doesn't do anything until I write something to the pipe. But I want to open the pipe with PHP and on the next step, I want to write something to it. The Problem ist, that I have to know, if there is data on the pipe or not. feof does not help. On the other side, the PHP-function popen should be extended for read AND write on Linux. I heard, other plattforms can do it already. -- Edit bug report at: http://bugs.php.net/?id=14231&edit=1

« previous php.dev (#71655) next »