---
name: "PHYSFS_File"
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_File"
---

# PHYSFS\_File(3)

A PhysicsFS file handle.

## NAME

PHYSFS\_File - A PhysicsFS file handle.

## SYNOPSIS

\#include \<physfs.h\>

### Data Fields

void \* **opaque**\

## Detailed Description

A PhysicsFS file handle.

You get a pointer to one of these when you open a file for reading, writing, or appending via PhysicsFS.

As you can see from the lack of meaningful fields, you should treat this as opaque data. Don't try to manipulate the file handle, just pass the pointer you got, unmolested, to various PhysicsFS APIs.

**See also**

**PHYSFS\_openRead**

**PHYSFS\_openWrite**

**PHYSFS\_openAppend**

**PHYSFS\_close**

**PHYSFS\_read**

**PHYSFS\_write**

**PHYSFS\_seek**

**PHYSFS\_tell**

**PHYSFS\_eof**

**PHYSFS\_setBuffer**

**PHYSFS\_flush**

## Field Documentation

### void\* PHYSFS\_File::opaque

That's all you get. Don't touch.

## Author

Generated automatically by Doxygen for physfs from the source code.
