Changeset 0cc4313 in mainline for uspace/lib/libc/generic/io/stream.c


Ignore:
Timestamp:
2007-11-22T15:50:24Z (17 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d40a8ff
Parents:
8498915
Message:

Modify the async framework to make use of all six syscall arguments.
Supply user-friendly macros as in previous cases.

File:
1 edited

Legend:

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

    r8498915 r0cc4313  
    7171
    7272        while (i < count) {
    73                 if (async_req_2(streams[0].phone, CONSOLE_GETCHAR, 0, 0, &r0,
     73                if (async_req_0_2(streams[0].phone, CONSOLE_GETCHAR, &r0,
    7474                    &r1) < 0) {
    7575                        return -1;
     
    8585
    8686        for (i = 0; i < count; i++)
    87                 async_msg(streams[1].phone, CONSOLE_PUTCHAR,
     87                async_msg_1(streams[1].phone, CONSOLE_PUTCHAR,
    8888                    ((const char *) buf)[i]);
    8989       
Note: See TracChangeset for help on using the changeset viewer.