Edit report at https://bugs.php.net/bug.php?id=60896&edit=1

 ID:                 60896
 Updated by:         cataphr...@php.net
 Reported by:        phihag at phihag dot de
 Summary:            Provide a wrapper for pipe(2)
 Status:             Open
 Type:               Feature/Change Request
 Package:            POSIX related
 Operating System:   Unix
 PHP Version:        Irrelevant
 Block user comment: N
 Private report:     N

 New Comment:

Note the most common use case is covered by proc_open


Previous Comments:
------------------------------------------------------------------------
[2012-01-26 23:28:00] phihag at phihag dot de

Description:
------------
Currently, there does not seem to be a way to create an anonymous pipe (which 
is 
particularily) via the pipe(2) system call. There should be a wrapper for pipe 
and optionally pipe2 in php. See 
http://pubs.opengroup.org/onlinepubs/009695399/functions/pipe.html for the 
POSIX 
spec.

Test script:
---------------
<?
list($readfd, $writefd) = posix_pipe();



------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=60896&edit=1

Reply via email to