Go to the documentation of this file.
16 #include "../../include/ecl/devices/console.hpp"
39 unsigned int no_written = 0;
40 while ( no_written < n ) {
52 int result = fflush(stdout);
71 unsigned int no_written = 0;
72 while ( no_written < n ) {
84 int result = fflush(stderr);
96 c =
static_cast<char>(fgetc(stdin));
108 char *result = fgets(s,n,stdin);
109 if ( result == NULL ) {
116 size_t length = strlen(s);
devices::CharStringBuffer buffer
long read(char &c)
Read a character from standard input.
void flush()
Flush the internal buffer.
long write(const char &c)
Write a character to the buffer.
void flush()
Flush the internal buffer.
devices::CharStringBuffer buffer
#define ecl_assert_throw(expression, exception)
long write(const char &c)
Write a character to the buffer.
long append(const char &c)
Embedded control libraries.
#define ecl_debug_throw(exception)
ecl_devices
Author(s): Daniel Stonier
autogenerated on Wed Mar 2 2022 00:16:45