# osal\_file.h ## **Overview** **Related Modules:** [OSAL](OSAL.md) **Description:** Declares the file structures and interfaces. This file provides interfaces for opening, closing, reading, and writing a file, and setting the read/write offset. **Since:** 1.0 **Version:** 1.0 ## **Summary** ## Data Structures
OSAL_S_IREAD 00400 |
|
OSAL_S_IWRITE 00200 |
|
OSAL_S_IEXEC 00100 |
|
OSAL_S_IRGRP 00040 |
|
OSAL_S_IWGRP 00020 |
|
OSAL_S_IXGRP 00010 |
|
OSAL_S_IROTH 00004 |
|
OSAL_S_IWOTH 00002 |
|
OSAL_S_IXOTH 00001 |
|
OsalFileOpen (OsalFile *file, const char *path, int flags, uint32_t rights) |
|
OsalFileWrite (OsalFile *file, const void *string, uint32_t length) |
|
OsalFileClose (OsalFile *file) |
|
OsalFileRead (OsalFile *file, void *buf, uint32_t length) |
|
OsalFileLseek (OsalFile *file, off_t offset, int32_t whence) |