CS::Platform::File Struct Reference (Crystal Space 2.0 Public API Reference)

| ## Public API Reference

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Static Public Member Functions
CS::Platform::File Struct Reference

Functions to abstract platform-specific file access. More...

`#include <csutil/platformfile.h>`

List of all members.

## Static Public Member Functions
static FILE * | Open (const char *filename, const char *mode)
| Open a file from a native path, encoded in UTF-8.

## Detailed Description

Functions to abstract platform-specific file access.

Definition at line 36 of file platformfile.h.

## Member Function Documentation

static FILE* CS::Platform::File::Open | ( | const char * | filename,
|  | const char * | mode
| ) |  | `[static]`

Open a file from a native path, encoded in UTF-8.

The function takes care of translating the file name to the platform-specific file name encoding.

Parameters:

  filename | Native file name, encoded in UTF-8.
  mode | `fopen()-style` file mode string.

The documentation for this struct was generated from the following file:

- csutil/platformfile.h