Next: Data Types
Up: Cryptic Allusion KallistiOS /
Previous: A Note on C++
  Contents
All of the following subsystems are written in a portable fashion
so that the code should compile on any new platform for which a hardware
abstraction layer is created. The HAL (located under kernel/arch for
each platform) will be discussed in the next section.
Subsections
- Data Types
- ANSI C library
- VFS (Virtual File System)
- file_t fs_open(const char * fn, int mode)
- void fs_close(file_t hnd)
- ssize_t fs_read(file_t hnd, void * buffer, size_t cnt)
- ssize_t fs_write(file_t hnd, const void * buffer, size_t cnt)
- off_t fs_seek(file_t hnd, off_t offset, int whence)
- off_t fs_tell(file_t hnd)
- size_t fs_total(file_t hnd)
- dirent_t * fs_readdir(file_t hnd)
- int fs_ioctl(file_t hnd, void * data, size_t size)
- int fs_rename(const char * fn1, const char * fn2)
- int fs_unlink(const char * fn)
- int fs_chdir(const char * fn)
- void * fs_mmap(file_t hnd)
- const char * fs_getwd()
- int fs_handler_add(const char * prefix, vfs_handler * hnd)
- int fs_handler_remove(const vfs_handler * hnd)
- File System: fs_builtin
- File System: fs_romdisk
- Memory Allocation System
- Network System
- Thread System
- Sync Objects: Semaphore
- Sync Objects: Condition Variable
- Platform-Independent Images
Dan Potter
2002-07-29