Changeset ff9244a in mainline for uspace/app/tetris/screen.c


Ignore:
Timestamp:
2007-12-26T22:16:21Z (17 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2f02aa17
Parents:
75ae31d
Message:

Move the open(), read() and write() provided by streams.c away so that
these functions won't clash with the real open(), read() and write(), which are
soon to be provided by a libvfs library. Applications can now use open_stdin(),
open_stdout(), read_stdin() and write_stdout(). Later, there might be an option
of providing a custom console file system, which will work similarly to how
streams' open(), read() and write() worked.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/tetris/screen.c

    r75ae31d rff9244a  
    119119scr_init(void)
    120120{
    121         con_phone = get_fd_phone(1);
     121        con_phone = get_cons_phone();
    122122        async_msg_1(con_phone, CONSOLE_CURSOR_VISIBILITY, 0);
    123123        resume_normal();
Note: See TracChangeset for help on using the changeset viewer.