Subversion Repositories Kolibri OS

Rev

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

Rev 6068 Rev 6074
Line 19... Line 19...
19
 
19
 
20
    *writes = count;
20
    *writes = count;
21
    return count;
21
    return count;
Line 22... Line 22...
22
};
22
};
23
 
23
 
24
void __attribute__ ((constructor)) __init_conio()
24
void __init_conio()
Line 25... Line 25...
25
{
25
{
26
    __io_handle *ioh;
26
    __io_handle *ioh;
Line 27... Line 27...
27
 
27
 
28
    load_libconsole();
28
    load_libconsole();
29
    con_init(80, 25, 80, 250, "Console application");
29
    con_init(80, 25, 80, 500, "Console application");
30
 
30
 
Line 31... Line 31...
31
    ioh = &__io_tab[STDOUT_FILENO];
31
    ioh = &__io_tab[STDOUT_FILENO];
32
    ioh->mode  = _WRITE|_ISTTY;
32
    ioh->mode  = _WRITE|_ISTTY;
33
    ioh->write = &console_write;
33
    ioh->write = &console_write;
34
};
34
};