stdio_provider_t Struct Reference

stdio provider struct More...

Detailed Description

stdio provider struct

Definition at line 62 of file stdio_base.h.

#include <stdio_base.h>

Data Fields

void(* open )(void)
 Initialize and attach the stdio provider.
 
void(* close )(void)
 Detach the stdio provider.
 
ssize_t(* write )(const void *src, size_t len)
 Write len bytes from src into stdout. More...
 

Field Documentation

◆ write

ssize_t(* stdio_provider_t::write) (const void *src, size_t len)

Write len bytes from src into stdout.

Parameters
[in]srcbuffer to read from
[in]lennr of bytes to write
Returns
nr of bytes written
<0 on error

Definition at line 80 of file stdio_base.h.


The documentation for this struct was generated from the following file: