From 7d4843d6a14294e3172cf30845dfd57df695a4fb Mon Sep 17 00:00:00 2001 From: Jon Parise Date: Tue, 15 May 2001 23:51:56 +0000 Subject: [PATCH] Documentation for the new disk_total_space() function. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@47543 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/filesystem.xml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/functions/filesystem.xml b/functions/filesystem.xml index 0662499849..d27827affe 100644 --- a/functions/filesystem.xml +++ b/functions/filesystem.xml @@ -330,6 +330,36 @@ $df = diskfreespace("/"); // $df contains the number of bytes + + + disk_total_space + Returns the total size of a directory + + + Description + + + float disk_total_space + string directory + + + + Given a string containing a directory, this function will return + the total number of bytes on the corresponding filesystem or disk + partition. + + + + <function>disk_total_space</function> example + +$df = disk_total_space("/"); // $df contains the total number of + // bytes available on "/" + + + + + + fclose