MongooseA text-based world full of questionable inventions.

All help topics · Link to this topic

Showing help on 'file_stat()'

Function: LIST file_stat(STR pathname)
Function: LIST file_stat(FHANDLE fh)

Returns the result of stat() (or fstat()) on the given file.
Specifically a list as follows:

{file size in bytes, file type, file access mode, owner, group,
last access, last modify, and last change}

owner and group are always the empty string.

It is recommended that the specific information functions file_size,
file_type, file_mode, file_last_access, file_last_modify, and
file_last_change be used instead. In most cases only one of these
elements is desired and in those cases there's no reason to make and
free a list.