PHYSFS_Stat Struct Reference

Meta data for a file or directory. More...

#include <physfs.h>

Data Fields

PHYSFS_sint64 filesize
PHYSFS_sint64 modtime
PHYSFS_sint64 createtime
PHYSFS_sint64 accesstime
PHYSFS_FileType filetype
int readonly

Detailed Description

Meta data for a file or directory.

Container for various meta data about a file in the virtual file system. PHYSFS_stat() uses this structure for returning the information. The time data will be either the number of seconds since the Unix epoch (midnight, Jan 1, 1970), or -1 if the information isn't available or applicable. The (filesize) field is measured in bytes. The (readonly) field tells you whether when you open a file for writing you are writing to the same file as if you were opening it, given you have enough filesystem rights to do that. !!! FIXME: this might change.

See also:
PHYSFS_stat
PHYSFS_FileType

Field Documentation

like modtime, but for file access time

like modtime, but for file creation time

size in bytes, -1 for non-files and unknown

File? Directory? Symlink?

last modification time

non-zero if read only, zero if writable.


The documentation for this struct was generated from the following file:
Generated on Sat Mar 24 15:06:35 2012 for physfs by  doxygen 1.6.3