Subversion Repositories HelenOS

Rev

Rev 1293 | Rev 1297 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1293 Rev 1294
Line 48... Line 48...
48
static __native sys_io(int fd, const void * buf, size_t count) {
48
static __native sys_io(int fd, const void * buf, size_t count) {
49
   
49
   
50
    // TODO: buf sanity checks and a lot of other stuff ...
50
    // TODO: buf sanity checks and a lot of other stuff ...
51
 
51
 
52
    size_t i;
52
    size_t i;
53
    char str[10];
-
 
54
   
53
   
55
    for (i = 0; i < count; i++)
54
    for (i = 0; i < count; i++)
56
        putchar(((char *) buf)[i]);
55
        putchar(((char *) buf)[i]);
57
   
56
   
58
    return count;
57
    return count;