Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
PHP: posix_mkfifo - Manual
[go: Go Back, main page]

PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

posix_mknod" width="11" height="7"/> <posix_kill
Last updated: Mon, 05 Feb 2007

view this page in

posix_mkfifo

(PHP 4, PHP 5)

posix_mkfifo — fifo スペシャルファイル(名前付きパイプ)を作成する

説明

bool posix_mkfifo ( string pathname, int mode )

posix_mkfifo() は、 FIFO スペシャルファイルを作成します。 これはファイルシステム内に存在し、プロセス間の双方向通信の末端として 動作します。

パラメータ

pathname

FIFO ファイルへのパス。

mode

2 番目のパラメータ mode は、8 進表記 (例: 0644)で指定する必要があります。新しく作成される FIFO のパーミッションは、現在の umask() の設定にも依存します。 作成されるファイルのパーミッションは (mode & ~umask) となります。

返り値

成功した場合に TRUE を、失敗した場合に FALSE を返します。

注意

注意: セーフモード が有効の場合、PHP は操作を行うファイル/ディレクトリが実行するスクリプトと 同じ UID (所有者)を有しているかどうかを確認します。



add a note add a note User Contributed Notes
posix_mkfifo
There are no user contributed notes for this page.

posix_mknod" width="11" height="7"/> <posix_kill
Last updated: Mon, 05 Feb 2007
 
 
show source | credits | sitemap | contact | advertising | mirror sites