Changeset 7114d83 in mainline for uspace/app/getvc/getvc.c


Ignore:
Timestamp:
2009-07-06T16:02:27Z (15 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5d96851
Parents:
d68e4d5
Message:

Allow task to return value (will be improved).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/getvc/getvc.c

    rd68e4d5 r7114d83  
    7474int main(int argc, char *argv[])
    7575{
     76        int retval;
     77
    7678        if (argc < 3) {
    7779                usage();
     
    98100        version_print(argv[1]);
    99101        task_id_t id = spawn(argv[2]);
    100         task_wait(id);
     102        task_wait(id, &retval);
    101103       
    102104        return 0;
Note: See TracChangeset for help on using the changeset viewer.