LexLeo 0.0.0-dev+f8e5087-dirty
Technical documentation
Loading...
Searching...
No Matches
osal_file.h File Reference
#include "osal/file/osal_file_types.h"
#include "policy/lexleo_cstd_types.h"
Include dependency graph for osal_file.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef struct osal_file_env_t osal_file_env_t
 

Functions

osal_file_tosal_file_open (const char *path_utf8, uint32_t flags, osal_file_status_t *status, const osal_file_env_t *env)
 
size_t osal_file_read (osal_file_t *f, void *buf, size_t n, osal_file_status_t *status)
 
size_t osal_file_write (osal_file_t *f, const void *buf, size_t n, osal_file_status_t *status)
 
osal_file_status_t osal_file_flush (osal_file_t *f)
 
osal_file_status_t osal_file_close (osal_file_t *f)
 

Typedef Documentation

◆ osal_file_env_t

Definition at line 14 of file osal_file.h.

Function Documentation

◆ osal_file_close()

osal_file_status_t osal_file_close ( osal_file_t f)

Definition at line 74 of file osal_file.c.

◆ osal_file_flush()

osal_file_status_t osal_file_flush ( osal_file_t f)

Definition at line 67 of file osal_file.c.

◆ osal_file_open()

osal_file_t * osal_file_open ( const char *  path_utf8,
uint32_t  flags,
osal_file_status_t status,
const osal_file_env_t env 
)

Definition at line 25 of file osal_file.c.

◆ osal_file_read()

size_t osal_file_read ( osal_file_t f,
void *  buf,
size_t  n,
osal_file_status_t status 
)

Definition at line 39 of file osal_file.c.

◆ osal_file_write()

size_t osal_file_write ( osal_file_t f,
const void *  buf,
size_t  n,
osal_file_status_t status 
)

Definition at line 53 of file osal_file.c.