Changeset 50cfa6c in mainline for uspace/lib/libc/generic/io/console.c


Ignore:
Timestamp:
2009-07-14T21:25:13Z (15 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
bf5443d
Parents:
7d88587
Message:

Method for getting console color capabilities. Use to fix invisible tetris pieces.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/libc/generic/io/console.c

    r7d88587 r50cfa6c  
    7070}
    7171
     72int console_get_color_cap(int phone, int *ccap)
     73{
     74        ipcarg_t ccap_tmp;
     75        int rc;
     76
     77        rc = async_req_0_1(phone, CONSOLE_GET_COLOR_CAP, &ccap_tmp);
     78        *ccap = ccap_tmp;
     79
     80        return rc;
     81}
     82
    7283void console_kcon_enable(int phone)
    7384{
Note: See TracChangeset for help on using the changeset viewer.