Changeset d2cc7e1 in mainline for uspace/lib/libc/generic/io/io.c


Ignore:
Timestamp:
2009-03-21T11:26:31Z (15 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0a5116db
Parents:
5b8c75a
Message:

Buffer console output with line granularity. Makes esp. msim/ski console faster. EGA-fb needs fixing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/libc/generic/io/io.c

    r5b8c75a rd2cc7e1  
    9898{
    9999        unsigned char c;
     100
     101        flush_stdout();
    100102        if (read_stdin((void *) &c, 1) == 1)
    101103                return c;
     
    104106}
    105107
     108int fflush(FILE *f)
     109{
     110        (void) f;
     111        return flush_stdout();
     112}
     113
    106114/** @}
    107115 */
Note: See TracChangeset for help on using the changeset viewer.