#include "slate.hpp"
Go to the source code of this file.
Functions | |
void | file_module_init (struct object_heap *oh) |
bool_t | file_handle_isvalid (struct object_heap *oh, word_t file) |
word_t | file_allocate (struct object_heap *oh) |
void | file_close (struct object_heap *oh, word_t file) |
word_t | file_open (struct object_heap *oh, struct ByteArray *name, word_t flags) |
word_t | file_write (struct object_heap *oh, word_t file, word_t n, char *bytes) |
word_t | file_read (struct object_heap *oh, word_t file, word_t n, char *bytes) |
word_t | file_sizeof (struct object_heap *oh, word_t file) |
word_t | file_seek (struct object_heap *oh, word_t file, word_t offset) |
word_t | file_tell (struct object_heap *oh, word_t file) |
bool_t | file_isatend (struct object_heap *oh, word_t file) |
bool_t | file_delete (struct object_heap *oh, char *filename) |
word_t | slate_file_mode (mode_t mode) |
struct Object * | file_information (struct object_heap *oh, char *filename) |
bool_t | file_rename_to (struct object_heap *oh, char *src, char *dest) |
word_t file_allocate | ( | struct object_heap * | oh | ) |
Definition at line 15 of file external-files.cpp.
void file_close | ( | struct object_heap * | oh, | |
word_t | file | |||
) |
Definition at line 33 of file external-files.cpp.
bool_t file_delete | ( | struct object_heap * | oh, | |
char * | filename | |||
) |
Definition at line 236 of file external-files.cpp.
bool_t file_handle_isvalid | ( | struct object_heap * | oh, | |
word_t | file | |||
) |
Definition at line 11 of file external-files.cpp.
struct Object* file_information | ( | struct object_heap * | oh, | |
char * | filename | |||
) | [read] |
Definition at line 249 of file external-files.cpp.
bool_t file_isatend | ( | struct object_heap * | oh, | |
word_t | file | |||
) |
Definition at line 209 of file external-files.cpp.
void file_module_init | ( | struct object_heap * | oh | ) |
Definition at line 6 of file external-files.cpp.
word_t file_open | ( | struct object_heap * | oh, | |
struct ByteArray * | name, | |||
word_t | flags | |||
) |
Definition at line 44 of file external-files.cpp.
word_t file_read | ( | struct object_heap * | oh, | |
word_t | file, | |||
word_t | n, | |||
char * | bytes | |||
) |
Definition at line 149 of file external-files.cpp.
bool_t file_rename_to | ( | struct object_heap * | oh, | |
char * | src, | |||
char * | dest | |||
) |
Definition at line 267 of file external-files.cpp.
word_t file_seek | ( | struct object_heap * | oh, | |
word_t | file, | |||
word_t | offset | |||
) |
Definition at line 180 of file external-files.cpp.
word_t file_sizeof | ( | struct object_heap * | oh, | |
word_t | file | |||
) |
Definition at line 160 of file external-files.cpp.
word_t file_tell | ( | struct object_heap * | oh, | |
word_t | file | |||
) |
Definition at line 194 of file external-files.cpp.
word_t file_write | ( | struct object_heap * | oh, | |
word_t | file, | |||
word_t | n, | |||
char * | bytes | |||
) |
Definition at line 138 of file external-files.cpp.
word_t slate_file_mode | ( | mode_t | mode | ) |
Definition at line 244 of file external-files.cpp.