Changeset ed88c8e in mainline for uspace/srv/hid/output/proto/vt100.c


Ignore:
Timestamp:
2018-05-29T13:25:07Z (6 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
fc0b2a8
Parents:
a57fa32
git-author:
Jiri Svoboda <jiri@…> (2018-05-28 17:24:17)
git-committer:
Jiri Svoboda <jiri@…> (2018-05-29 13:25:07)
Message:

fputc, putchar vs. fputwc, putwchar.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/output/proto/vt100.c

    ra57fa32 red88c8e  
    139139
    140140vt100_state_t *vt100_state_create(sysarg_t cols, sysarg_t rows,
    141     vt100_putchar_t putchar_fn, vt100_control_puts_t control_puts_fn,
     141    vt100_putwchar_t putwchar_fn, vt100_control_puts_t control_puts_fn,
    142142    vt100_flush_t flush_fn)
    143143{
     
    146146                return NULL;
    147147
    148         state->putchar = putchar_fn;
     148        state->putwchar = putwchar_fn;
    149149        state->control_puts = control_puts_fn;
    150150        state->flush = flush_fn;
     
    219219}
    220220
    221 void vt100_putchar(vt100_state_t *state, wchar_t ch)
    222 {
    223         state->putchar(ch == 0 ? ' ' : ch);
     221void vt100_putwchar(vt100_state_t *state, wchar_t ch)
     222{
     223        state->putwchar(ch == 0 ? ' ' : ch);
    224224        state->cur_col++;
    225225
Note: See TracChangeset for help on using the changeset viewer.