/branches/dynload/uspace/lib/libc/generic/io/stream.c |
---|
67,6 → 67,8 |
((char *) buf)[i++] = r0; |
} |
return i; |
} else { |
return -1; |
} |
} |
82,7 → 84,7 |
return count; |
} else |
return __SYSCALL3(SYS_IO, 1, (sysarg_t) buf, count); |
return __SYSCALL3(SYS_KLOG, 1, (sysarg_t) buf, count); |
} |
void open_console(void) |
94,6 → 96,11 |
} |
} |
void klog_update(void) |
{ |
(void) __SYSCALL3(SYS_KLOG, 1, NULL, 0); |
} |
int get_cons_phone(void) |
{ |
open_console(); |