Rev 4154 | Rev 4164 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4154 | Rev 4160 | ||
---|---|---|---|
Line 54... | Line 54... | ||
54 | return count; |
54 | return count; |
55 | } |
55 | } |
56 | 56 | ||
57 | ssize_t read_stdin(void *buf, size_t count) |
57 | ssize_t read_stdin(void *buf, size_t count) |
58 | { |
58 | { |
59 | int cons_phone = console_phone_get(); |
59 | int cons_phone = console_phone_get(false); |
60 | 60 | ||
61 | if (cons_phone >= 0) { |
61 | if (cons_phone >= 0) { |
62 | kbd_event_t ev; |
62 | kbd_event_t ev; |
63 | int rc; |
63 | int rc; |
64 | size_t i = 0; |
64 | size_t i = 0; |
Line 77... | Line 77... | ||
77 | } |
77 | } |
78 | } |
78 | } |
79 | 79 | ||
80 | ssize_t write_stdout(const void *buf, size_t count) |
80 | ssize_t write_stdout(const void *buf, size_t count) |
81 | { |
81 | { |
82 | int cons_phone = console_phone_get(); |
82 | int cons_phone = console_phone_get(false); |
83 | 83 | ||
84 | if (cons_phone >= 0) { |
84 | if (cons_phone >= 0) { |
85 | int i; |
85 | int i; |
86 | 86 | ||
87 | for (i = 0; i < count; i++) |
87 | for (i = 0; i < count; i++) |