From 930bf9ba89bb5901c80b0b91b0fe1797cea989b8 Mon Sep 17 00:00:00 2001 From: Marko Karppinen Date: Tue, 11 Jan 2000 03:52:08 +0000 Subject: [PATCH] Add notes on how to resolve uid/gid into names git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@18528 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/filesystem.xml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/functions/filesystem.xml b/functions/filesystem.xml index 3d470d486f..589e818399 100644 --- a/functions/filesystem.xml +++ b/functions/filesystem.xml @@ -648,7 +648,8 @@ fclose ($fd); Returns the group ID of the owner of the file, or false in case - of an error. + of an error. The group ID is returned in numerical format, use + posix_getgrgid to resolve it to a group name. The results of this function are cached. See @@ -713,12 +714,12 @@ fclose ($fd); Returns the user ID of the owner of the file, or false in case of - an. + an error. The user ID is returned in numerical format, use + posix_getpwuid to resolve it to a username. The results of this function are cached. See clearstatcache for more details. - error.