Loading...
Searching...
No Matches
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.
 

Field Documentation

◆ close

void(* stdio_provider_t::close) (void)

Detach the stdio provider.

Definition at line 70 of file stdio_base.h.

◆ open

void(* stdio_provider_t::open) (void)

Initialize and attach the stdio provider.

Definition at line 66 of file stdio_base.h.

◆ 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: