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);
Embedded control libraries.
void flush()
Flush the internal buffer.
long write(const char &c)
Write a character to the buffer.
long append(const char &c)
#define ecl_assert_throw(expression, exception)
long write(const char &c)
Write a character to the buffer.
void flush()
Flush the internal buffer.
long read(char &c)
Read a character from standard input.
#define ecl_debug_throw(exception)
devices::CharStringBuffer buffer