Subversion Repositories HelenOS-historic

Rev

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

Rev 1366 Rev 1465
Line 90... Line 90...
90
            return c;
90
            return c;
91
    }
91
    }
92
   
92
   
93
    return EOF;
93
    return EOF;
94
}
94
}
-
 
95
 
-
 
96
int getchar(void)
-
 
97
{
-
 
98
    unsigned char c;
-
 
99
    if (read(0, (void *)&c , 1) == 1) {
-
 
100
            return c;
-
 
101
    }
-
 
102
   
-
 
103
    return EOF;
-
 
104
}
-
 
105
 
-
 
106