Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/io/output.c

    rb7fd2a0 r5d94b16c  
    4040#include <io/output.h>
    4141
    42 errno_t output_yield(async_sess_t *sess)
     42int output_yield(async_sess_t *sess)
    4343{
    4444        async_exch_t *exch = async_exchange_begin(sess);
    45         errno_t ret = async_req_0_0(exch, OUTPUT_YIELD);
     45        int ret = async_req_0_0(exch, OUTPUT_YIELD);
    4646        async_exchange_end(exch);
    4747       
     
    4949}
    5050
    51 errno_t output_claim(async_sess_t *sess)
     51int output_claim(async_sess_t *sess)
    5252{
    5353        async_exch_t *exch = async_exchange_begin(sess);
    54         errno_t ret = async_req_0_0(exch, OUTPUT_CLAIM);
     54        int ret = async_req_0_0(exch, OUTPUT_CLAIM);
    5555        async_exchange_end(exch);
    5656       
     
    5858}
    5959
    60 errno_t output_get_dimensions(async_sess_t *sess, sysarg_t *maxx, sysarg_t *maxy)
     60int output_get_dimensions(async_sess_t *sess, sysarg_t *maxx, sysarg_t *maxy)
    6161{
    6262        async_exch_t *exch = async_exchange_begin(sess);
    63         errno_t ret = async_req_0_2(exch, OUTPUT_GET_DIMENSIONS, maxx, maxy);
     63        int ret = async_req_0_2(exch, OUTPUT_GET_DIMENSIONS, maxx, maxy);
    6464        async_exchange_end(exch);
    6565       
     
    6767}
    6868
    69 errno_t output_get_caps(async_sess_t *sess, console_caps_t *ccaps)
     69int output_get_caps(async_sess_t *sess, console_caps_t *ccaps)
    7070{
    7171        async_exch_t *exch = async_exchange_begin(sess);
    7272       
    7373        sysarg_t rv;
    74         errno_t ret = async_req_0_1(exch, OUTPUT_GET_CAPS, &rv);
     74        int ret = async_req_0_1(exch, OUTPUT_GET_CAPS, &rv);
    7575       
    7676        async_exchange_end(exch);
     
    8989        ipc_call_t answer;
    9090        aid_t req = async_send_0(exch, OUTPUT_FRONTBUF_CREATE, &answer);
    91         errno_t rc = async_share_out_start(exch, frontbuf, AS_AREA_READ
     91        int rc = async_share_out_start(exch, frontbuf, AS_AREA_READ
    9292            | AS_AREA_WRITE | AS_AREA_CACHEABLE);
    9393       
    9494        async_exchange_end(exch);
    9595       
    96         errno_t ret;
     96        sysarg_t ret;
    9797        async_wait_for(req, &ret);
    9898       
     
    103103}
    104104
    105 errno_t output_set_style(async_sess_t *sess, console_style_t style)
     105int output_set_style(async_sess_t *sess, console_style_t style)
    106106{
    107107        async_exch_t *exch = async_exchange_begin(sess);
    108         errno_t ret = async_req_1_0(exch, OUTPUT_SET_STYLE, style);
     108        int ret = async_req_1_0(exch, OUTPUT_SET_STYLE, style);
    109109        async_exchange_end(exch);
    110110       
     
    112112}
    113113
    114 errno_t output_cursor_update(async_sess_t *sess, frontbuf_handle_t frontbuf)
     114int output_cursor_update(async_sess_t *sess, frontbuf_handle_t frontbuf)
    115115{
    116116        async_exch_t *exch = async_exchange_begin(sess);
    117         errno_t ret = async_req_1_0(exch, OUTPUT_CURSOR_UPDATE, frontbuf);
     117        int ret = async_req_1_0(exch, OUTPUT_CURSOR_UPDATE, frontbuf);
    118118        async_exchange_end(exch);
    119119       
     
    121121}
    122122
    123 errno_t output_update(async_sess_t *sess, frontbuf_handle_t frontbuf)
     123int output_update(async_sess_t *sess, frontbuf_handle_t frontbuf)
    124124{
    125125        async_exch_t *exch = async_exchange_begin(sess);
    126         errno_t ret = async_req_1_0(exch, OUTPUT_UPDATE, frontbuf);
     126        int ret = async_req_1_0(exch, OUTPUT_UPDATE, frontbuf);
    127127        async_exchange_end(exch);
    128128       
     
    130130}
    131131
    132 errno_t output_damage(async_sess_t *sess, frontbuf_handle_t frontbuf, sysarg_t col,
     132int output_damage(async_sess_t *sess, frontbuf_handle_t frontbuf, sysarg_t col,
    133133    sysarg_t row, sysarg_t cols, sysarg_t rows)
    134134{
    135135        async_exch_t *exch = async_exchange_begin(sess);
    136         errno_t ret = async_req_5_0(exch, OUTPUT_DAMAGE, frontbuf, col, row,
     136        int ret = async_req_5_0(exch, OUTPUT_DAMAGE, frontbuf, col, row,
    137137            cols, rows);
    138138        async_exchange_end(exch);
Note: See TracChangeset for help on using the changeset viewer.