★ wanayoo — archive 1999 http://www.php.net/manual/ja/function.pclose.phpNouvelle recherche | Portail wanayoo

PHP Home Page

Manual Table of Contents
Up to ファイルシステム
Quick Reference
English version of this pageGerman version of this pageItalian version of this pageFrench version of this pageHungarian version of this page
ファイルシステム
* basename
* chgrp
* chmod
* chown
* clearstatcache
* copy
* delete
* dirname
* diskfreespace
* fclose
* feof
* fgetc
* fgetcsv
* fgets
* fgetss
* file
* file_exists
* fileatime
* filectime
* filegroup
* fileinode
* filemtime
* fileowner
* fileperms
* filesize
* filetype
* flock
* fopen
* fpassthru
* fputs
* fread
* fscanf
* fseek
* fstat
* ftell
* ftruncate
* fwrite
* set_file_buffer
* is_dir
* is_executable
* is_file
* is_link
* is_readable
* is_writeable
* link
* linkinfo
* mkdir
* pclose
* popen
* readfile
* readlink
* rename
* rewind
* rmdir
* stat
* lstat
* realpath
* symlink
* tempnam
* touch
* umask
* unlink
Manual: pclose
View the source code for this pageSearch the site



Previous page
 mkdir
 Updated
Sat, 12 Aug 2000
popen 
Next page


pclose

(PHP3 , PHP4 )

pclose -- プロセスのファイルポインタをクローズする

説明

int pclose (int fp)

popen()によってオープンされたパイプへの ファイルポインタをクローズします。

ファイルポインタは有効なものでなければならず、また popen()で正常にオープンされたものである 必要があります。

実行していたプロセスの終了ステータスを返します。

popen()も参照下さい。


User Contributed Notes: pclose


roel@bouwman.net
07-Oct-1999 10:23
The return value of pclose() is not the exit status of the program, but a value as returned by waitpid() of wait4().

To obtain the exit status:

$ret=(pclose($f)>>8)&0xFF;



 About Notes


Previous page
 mkdir
 Updated
Sat, 12 Aug 2000
popen 
Next page





Who's responsible for this?
Top of this page

Site
Hosting:



Located in
United States
Elements of this website are subject to copyright.
Questions about installing or using PHP should be directed to one of the mailing lists.
Only questions about the website should be directed to webmaster@php.net.