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

PHP Home Page

Manual Table of Contents
Up to Système de fichiers
Quick Reference
English version of this pageGerman version of this pageJapanese version of this pageItalian version of this pageHungarian version of this page
Système de fichiers
* 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
* fseek
* ftell
* 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
* symlink
* tempnam
* touch
* umask
* unlink
Manual: pclose
View the source code for this pageSearch the site



Previous page
 mkdir
 Updated
Sun, 06 Aug 2000
popen 
Next page


pclose

(PHP3 , PHP4 )

pclose -- Ferme un processus de pointeur de fichier.

Description

int pclose (int fp)

pclose() ferme un processus de pointeur de fichier ouvert par popen().

Le pointeur de fichier doit être valide, et avoir été ouvert correctement par popen().

Retourne le statut final du processus exécuté.

Voir aussi 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
Sun, 06 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.