20#error "port/posix is host-only and must never be compiled or linked into target firmware."
64internal_read(
void* ctx,
void* file_state, uint8_t* dst, uint32_t cap, uint32_t* out_read);
static uint32_t internal_read(void)
Read current GPT counter ticks, or return UINT32_MAX on err.
Shared errno/descriptor helpers for the POSIX filesystem port.
static ra8_err_t internal_tell(void *ctx, void *file_state, uint64_t *out_offset)
Report the current POSIX descriptor offset.
static ra8_err_t internal_open_flags(fw_fs_open_mode_t mode, int *out_flags)
Map a portable open mode to confined no-follow openat flags.
fw_fs_open_mode_t
Open intent for fw_fs_open.
Annotation-attribute framework macros for ra8-firmware.
ra8_err_codes_t ra8_err_t
Canonical error-return type used by every ra8-firmware API.