Subversion Repositories HelenOS

Rev

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

Rev 4341 Rev 4342
Line 113... Line 113...
113
 */
113
 */
114
static char ski_getchar_blocking(chardev_t *d)
114
static char ski_getchar_blocking(chardev_t *d)
115
{
115
{
116
    int ch;
116
    int ch;
117
 
117
   
118
    while(!(ch = ski_getchar()))
118
    while(!(ch = ski_getchar()));
119
        ;
119
   
120
    if (ch == '\r')
120
    if (ch == '\r')
121
        ch = '\n';
121
        ch = '\n';
122
    return (char) ch;
122
    return (char) ch;
123
}
123
}
124
 
124