Rev 4168 | Rev 4293 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4168 | Rev 4239 | ||
---|---|---|---|
Line 35... | Line 35... | ||
35 | #ifndef LIBC_CONSOLE_H_ |
35 | #ifndef LIBC_CONSOLE_H_ |
36 | #define LIBC_CONSOLE_H_ |
36 | #define LIBC_CONSOLE_H_ |
37 | 37 | ||
38 | #include <console/style.h> |
38 | #include <console/style.h> |
39 | #include <console/color.h> |
39 | #include <console/color.h> |
- | 40 | #include <sys/types.h> |
|
40 | #include <bool.h> |
41 | #include <bool.h> |
41 | 42 | ||
42 | extern void console_open(bool); |
43 | extern void console_open(bool); |
43 | extern void console_close(void); |
44 | extern void console_close(void); |
44 | 45 | ||
45 | extern int console_phone_get(bool); |
46 | extern int console_phone_get(bool); |
46 | extern void console_wait(void); |
47 | extern void console_wait(void); |
47 | 48 | ||
48 | extern void console_clear(void); |
49 | extern void console_clear(void); |
49 | extern void console_goto(int, int); |
50 | extern void console_goto(int, int); |
50 | extern void console_putchar(int); |
51 | extern void console_putchar(wchar_t); |
51 | extern ssize_t console_write(const char *buf, size_t nbyte); |
52 | extern ssize_t console_write(const char *buf, size_t nbyte); |
52 | extern void console_putstr(const char *s); |
53 | extern void console_putstr(const char *s); |
53 | extern void console_flush(void); |
54 | extern void console_flush(void); |
54 | 55 | ||
55 | extern int console_get_size(int *, int *); |
56 | extern int console_get_size(int *, int *); |