#include "kernel.h"
#include <stdio.h>
#include <stdarg.h>
#include "internal.h"
Functions | |
| l_long | file_get_mlong (PFile f) |
| Reads a long in motorola format from a file stream. | |
| void | FreeFileInfo (PFileInfo o) |
| Free a File Information. | |
| PList | ListDir (l_text Dir, l_uchar Attrib) |
| List a directory. | |
| PList | ListDir2 (PFileInfo fi, l_uchar Attrib) |
| List a directory. | |
| PFile | FileOpen (l_text File, l_text Mode) |
| Open a file stream. | |
| PFile | FileOpen2 (PFileInfo fi, l_text Mode) |
| Open a file stream from of FileInfo reference. | |
| void | FileClose (PFile f) |
| Close a file stream. | |
| l_int | FileEOF (PFile f) |
| Determines if pointer is at the end of the file. | |
| l_int | FileRead (void *o, l_ulong n, l_ulong s, PFile f) |
| Read data from a file stream and store it to memory. | |
| l_int | FileWrite (void *o, l_ulong n, l_ulong s, PFile f) |
| Write data to a file stream from memory. | |
| l_text | FileGets (l_text s, l_int n, PFile f) |
| Read a line form a file buffer. | |
| l_bool | FileWriteBinString (PFile f, l_text Txt) |
| Write a string to a file stream in binary mode. | |
| l_text | FileReadBinString (PFile f) |
| Read a string from a file stream in binary mode written by FileWriteBinString. | |
| PFileInfo | FileGetInfo (l_text File) |
| Get a File Information from a file. | |
| l_bool | FileSetAttributes (l_text File, l_uchar Attrib) |
| Change a file attributes. | |
| l_text | GetPathParent (l_text dir) |
| Determines the parent of a path. | |
| l_bool | MakeDir (l_text Path) |
| Creates a directory. | |
| l_text | ResolveFileName (l_text File) |
| Clean a path. | |
| int | GSSystemVFSInstall (void) |
| NAME: GSSystemVFSInstall DESCRIPTION: Installs the VFS, is called during kernel setup. | |
1.3.8