Changeset ed88c8e in mainline for uspace/app


Ignore:
Timestamp:
2018-05-29T13:25:07Z (8 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.

Location:
uspace/app
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/bdsh/cmds/modules/cat/cat.c

    ra57fa32 red88c8e  
    160160                printf("%6u  ", lineno);
    161161        }
    162         putchar(c);
     162        putwchar(c);
    163163        last_char_was_newline = c == '\n';
    164164        if (paging_enabled) {
  • uspace/app/bdsh/cmds/modules/printf/printf.c

    ra57fa32 red88c8e  
    172172                                break;
    173173                        }
    174                         putchar(ch);
     174                        putwchar(ch);
    175175                        break;
    176176
    177177                emit:
    178                         putchar(ch);
     178                        putwchar(ch);
    179179                        esc_flag = false;
    180180                }
  • uspace/app/edit/edit.c

    ra57fa32 red88c8e  
    671671                                default:
    672672                                        if (kev->c >= 32 && nc < max_len) {
    673                                                 putchar(kev->c);
     673                                                putwchar(kev->c);
    674674                                                console_flush(con);
    675675                                                buffer[nc++] = kev->c;
  • uspace/app/kio/kio.c

    ra57fa32 red88c8e  
    122122
    123123                for (size_t i = 0; i < item->length; i++)
    124                         putchar(item->data[i]);
     124                        putwchar(item->data[i]);
    125125
    126126                if (log != NULL) {
    127127                        for (size_t i = 0; i < item->length; i++)
    128                                 fputc(item->data[i], log);
     128                                fputwc(item->data[i], log);
    129129
    130130                        fflush(log);
Note: See TracChangeset for help on using the changeset viewer.