Changeset 566f4cfb in mainline for uspace/lib/libc/include


Ignore:
Timestamp:
2009-04-24T08:01:05Z (16 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
402de0c
Parents:
ab1861a
Message:

use buffering for klog output (this can be used to avoid the ugly usleeps while starting tasks)
unify and cleanup console.c and related files

Location:
uspace/lib/libc/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/libc/include/console.h

    rab1861a r566f4cfb  
    2828
    2929/** @addtogroup libc
    30  * @{ 
     30 * @{
    3131 */
    3232/** @file
     
    4141#include <bool.h>
    4242
    43 extern void console_open(bool);
     43extern int console_open(bool);
    4444extern void console_close(void);
    45 
    46 extern int console_phone_get(bool);
    4745extern void console_wait(void);
    4846
     
    5048extern void console_goto(int, int);
    5149extern void console_putchar(wchar_t);
    52 extern ssize_t console_write(const char *buf, size_t nbyte);
    53 extern void console_putstr(const char *s);
     50extern ssize_t console_write(const char *, size_t);
     51extern void console_putstr(const char *);
    5452extern void console_flush(void);
    55 extern void console_flush_optional(void);
    5653
    5754extern int console_get_size(int *, int *);
     
    6461
    6562#endif
    66  
     63
    6764/** @}
    6865 */
  • uspace/lib/libc/include/io/stream.h

    rab1861a r566f4cfb  
    3838#include <libarch/types.h>
    3939
    40 #define EMFILE -17
    41 
    42 extern void klog_update(void);
     40#define EMFILE  -17
    4341
    4442extern ssize_t read_stdin(void *, size_t);
    45 extern ssize_t write_stdout(const void *, size_t);
    46 extern ssize_t write_stderr(const void *, size_t);
    47 extern int flush_stdout(void);
     43extern void klog_update(void);
    4844
    4945#endif
Note: See TracChangeset for help on using the changeset viewer.