A
          / \      _             Play Now                         Nemesis on fb
          | |     | |  _______   _        _   _______    _______   _    _______
          | |\    | | |   ____| |  \    /  | |   ____|  /   ____| | |  /   ____|
 /-------/-------------------------------------------------------------------,
O= Home <=XX|  About  News  Pics  Adventurers  Wizards  Download  Connect     >
 \-------\-------------------------------------------------------------------'
          | |   \   | |  |____  | |      | | |  |____   ___ \  \  | |  ___ \  \
          | |     \_| |_______| |_|      |_| |_______| |_______/  |_| |_______/
          \ /
           V  

Documentation Area

Document Path: /doc/efun/file_info


Name: file_info - get detailed info about a file

Syntax:
	mixed *file_info(string path)

Description:
	The file_info efun takes a path as argument and returns an array
	with the following elements:

	0: name of the file (string)
	1: size of the file in bytes (int)
	2: modification time of the file in Unix format (int)
	3: mode bits, see /include/dir.h for details.
	4: 0 (int) if the file is a regular file or directory, else
	   it contains the path of the file where this is a link to.

	It's basically the one dimensional counterpart to what directory() returns.

Return value: see above

See also:


This page was generated in LPC

Imprint / Impressum