posix_mkfifo
reactphp/event-loop
Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Create a fifo special file (a named pipe)
posix_mkfifo
(
string $filename
,
int $permissions
):
bool
unlink
(
$this
->
fifoPath
);
posix_mkfifo
(
$this
->
fifoPath
,
0600
);
$stream
=
fopen
(
$this
->
fifoPath
,
'r+'
);
tests/ExtEventLoopTest.php
posix_mkfifo
(
$this
->
fifoPath
,
0600
);
$stream
=
fopen
(
$this
->
fifoPath
,
'r+'
);
tests/ExtLibeventLoopTest.php