Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/posix/src/sys/wait.c

    r1b20da0 ra35b458  
    9595        assert(stat_ptr != NULL);
    9696        assert(options == 0 /* None of the options are supported. */);
    97        
     97
    9898        task_exit_t texit;
    9999        int retval;
    100        
     100
    101101        if (failed(task_wait_task_id((task_id_t) pid, &texit, &retval))) {
    102102                /* Unable to retrieve status. */
    103103                return (pid_t) -1;
    104104        }
    105        
     105
    106106        if (texit == TASK_EXIT_NORMAL) {
    107107                // FIXME: relies on application not returning this value
     
    112112                *stat_ptr = INT_MIN;
    113113        }
    114        
     114
    115115        return pid;
    116116}
Note: See TracChangeset for help on using the changeset viewer.