Zephyr API Documentation
3.5.0
A Scalable Open Source RTOS
|
|
3.5.0 |
Linkable loadable extension loader context. More...
#include <loader.h>
Data Fields | |
int(* | read )(struct llext_loader *ldr, void *out, size_t len) |
Read (copy) from the loader. | |
int(* | seek )(struct llext_loader *s, size_t pos) |
Seek to a new absolute location. | |
Linkable loadable extension loader context.
int(* llext_loader::read) (struct llext_loader *ldr, void *out, size_t len) |
Read (copy) from the loader.
Copies len bytes into buf from the current position of the loader.
[in] | ldr | Loader |
[in] | out | Output location |
[in] | len | Length to copy into the output location |
0 | Success |
-errno | Error reading (any errno) |
int(* llext_loader::seek) (struct llext_loader *s, size_t pos) |
Seek to a new absolute location.
Changes the location of the loader position to a new absolute given position.
[in] | ldr | Loader |
[in] | pos | Position in stream to move loader |
0 | Success |
-errno | Error reading (any errno) |