Zephyr API Documentation  3.6.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
console.h File Reference
#include <sys/types.h>
#include <zephyr/types.h>
#include <zephyr/kernel.h>

Go to the source code of this file.

Functions

int console_init (void)
 Initialize console device.
 
ssize_t console_read (void *dummy, void *buf, size_t size)
 Read data from console.
 
ssize_t console_write (void *dummy, const void *buf, size_t size)
 Write data to console.
 
int console_getchar (void)
 Get next char from console input buffer.
 
int console_putchar (char c)
 Output a char to console (buffered).
 
void console_getline_init (void)
 Initialize console_getline() call.
 
char * console_getline (void)
 Get next line from console input buffer.