★ wanayoo — archive 1999 http://www.php.net/manual/ja/function.clearstatcache.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: clearstatcache
View the source code for this pageSearch the site



Previous page
 chown
 Updated
Sat, 12 Aug 2000
copy 
Next page


clearstatcache

(PHP3 , PHP4 )

clearstatcache -- ファイルstatのキャッシュをクリアする

説明

void clearstatcache(void);

statまたはlstat システムコールは、ほとんどのシステムにおいて かなりのコストがかかるものです。そのため、ステータス関連の関数 (後述)への最後のコールの結果はキャッシュされ、同名のファイル に対する同じような関数コールに際してそのキャッシュが使われます。 強制的に新たなステータスチェックを行いたい場合、たとえばファイルが 何度もチェックされその間に変更されたり消えたりする可能性がある 場合、この関数をコールすることにより最後のコールの結果がメモリから クリアされます。

単一のリクエストが持続している間のみ、この値のキャッシュが 行われます。

影響を受ける関数を以下に示します。 lstat(), stat(), file_exists(), is_writeable(), is_readable(), is_executable(), is_file(), is_dir(), is_link(), filectime(), fileatime(), filemtime(), fileinode(), filegroup(), fileowner(), filesize(), filetype(), fileperms()


 About Notes


Previous page
 chown
 Updated
Sat, 12 Aug 2000
copy 
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.