# File System Folio Function Calls

The following section lists the File folio calls. See Kernel Folio Calls in the 3DO System Programmer's Reference for a complete description of the calls.

## File Access Calls

- `CloseDiskFile()` Closes a file.
- `CreateAlias()` Creates an alias for a file.
- `CreateFile()` Creates a file.
- `DeleteFile()` Deletes a file.
- `OpenDiskFile()`Opens a disk file.
- `OpenDiskFileInDir()`Opens a disk file contained in a specific directory.

## Program Calls

- `ExecuteAsSubroutine()` Executes previously loaded code as a subroutine.
- `ExecuteAsThread()` Executes previously loaded code as a thread.
- `LoadProgram()`Launches a program.
- `LoadProgramPrio()`Launches a program and gives it a priority.
- `LoadCode()` Loads a binary image into memory, and obtains a handle to it.
- `UnloadCode()` Unloads a binary image previously loaded with `LoadCode()`.

## Directory Access Calls

- `ChangeDirectory()`Changes the current directory.
- `CloseDirectory()`Closes a directory.
- `GetDirectory()`Gets the item number and pathname for the current directory.
- `OpenDirectoryPath()`Opens a directory specified by a pathname.
- `OpenDirectoryItem()`Opens a directory.
- `ReadDirectory()`Reads the next entry from a directory.

## Byte-Stream Calls

- `OpenDiskStream()`Opens a disk stream for byte stream-oriented I/O.
- `CloseDiskStream()`Closes a disk stream.
- `ReadDiskStream()` Reads from a disk stream.
- `SeekDiskStream()`Performs a seek operation on a disk stream.