---
name: "accesstime"
section: "3"
platform: "linux"
package: "physfs"
version: "3.2.0-5"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/PHYSFS_Stat"
---

# accesstime(3)

Meta data for a file or directory.

Part of [PHYSFS\_Stat(3)](/PHYSFS_Stat/3.md).

## NAME

PHYSFS\_Stat - Meta data for a file or directory.

## SYNOPSIS

\#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 the archive thinks a file is not writable, but tends to be only an estimate (for example, your write dir might overlap with a .zip file, meaning you *can* successfully open that path for writing, as it gets created elsewhere.

**See also**

**PHYSFS\_stat**

**PHYSFS\_FileType**

## Field Documentation

### PHYSFS\_sint64 PHYSFS\_Stat::accesstime

like modtime, but for file access time

### PHYSFS\_sint64 PHYSFS\_Stat::createtime

like modtime, but for file creation time

### PHYSFS\_sint64 PHYSFS\_Stat::filesize

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

### PHYSFS\_FileType PHYSFS\_Stat::filetype

File? Directory? Symlink?

### PHYSFS\_sint64 PHYSFS\_Stat::modtime

last modification time

### int PHYSFS\_Stat::readonly

non-zero if read only, zero if writable.

## Author

Generated automatically by Doxygen for physfs from the source code.
