Subversion Repositories HelenOS

Rev

Rev 3174 | Rev 3202 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3174 Rev 3190
Line 120... Line 120...
120
 *
120
 *
121
 * @param path  pathname of the binary to execute
121
 * @param path  pathname of the binary to execute
122
 * @param argv  command-line arguments
122
 * @param argv  command-line arguments
123
 * @return  ID of the newly created task or zero on error.
123
 * @return  ID of the newly created task or zero on error.
124
 */
124
 */
125
task_id_t task_spawn_ex(const char *path, const char *argv[])
125
task_id_t task_spawn(const char *path, const char *argv[])
126
{
126
{
127
    int phone_id;
127
    int phone_id;
128
    ipc_call_t answer;
128
    ipc_call_t answer;
129
    aid_t req;
129
    aid_t req;
130
    int rc;
130
    int rc;
Line 167... Line 167...
167
error:
167
error:
168
    ipc_hangup(phone_id);
168
    ipc_hangup(phone_id);
169
    return 0;
169
    return 0;
170
}
170
}
171
 
171
 
172
int task_spawn(void *image, size_t size)
-
 
173
{
-
 
174
    return __SYSCALL2(SYS_TASK_SPAWN, (sysarg_t) image, (sysarg_t) size);
-
 
175
}
-
 
176
 
-
 
177
/** @}
172
/** @}
178
 */
173
 */