Changeset adb49f58 in mainline for uspace/app/getvc/getvc.c


Ignore:
Timestamp:
2009-07-06T20:16:15Z (15 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
95bc57c
Parents:
0315679
Message:

Allow to determine whether a task returned value before terminatign.

File:
1 edited

Legend:

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

    r0315679 radb49f58  
    7474int main(int argc, char *argv[])
    7575{
     76        task_exit_t texit;
    7677        int retval;
    7778
     
    100101        version_print(argv[1]);
    101102        task_id_t id = spawn(argv[2]);
    102         task_wait(id, &retval);
     103        task_wait(id, &texit, &retval);
    103104       
    104105        return 0;
Note: See TracChangeset for help on using the changeset viewer.