Helix Core is now P4. Product user interfaces will be updated soon. Learn more >>

C/C++ API Documentation | 2026.1

# FileSys - P4 Server file I/O

The `FileSys` class provides a platform-independent set of methods used to create, read and write files to disk.

You can intercept the file I/O and implement your own client workspace file access routines by replacing `FileSys` `*ClientUser::File()` in a `ClientUser` subclass.

Replacing the existing I/O routines is non-trivial. Your replacement routines must handle all special cases, including cross-platform file issues.

Unless your application has highly specialized requirements, (for instance, performing all file I/O in memory rather than on disk), this approach is not recommended.

If you intend to replace `File()`, all of the virtual methods documented are required. The non virtual methods are not required and not documented.

Your search for returned results