Req #60896 [Opn]: Provide a wrapper for pipe(2)

From: Date: Fri, 27 Jan 2012 16:33:39 +0000
Subject: Req #60896 [Opn]: Provide a wrapper for pipe(2)
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-166861@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=60896&edit=1

 ID:                 60896
 Updated by:         cataphract@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


Thread (4 messages)

« previous php.bugs (#166861) next »