Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 3189 → Rev 3190

/branches/dynload/uspace/app/init/init.c
89,7 → 89,7
argv[0] = fname;
argv[1] = NULL;
 
if (task_spawn_ex(fname, argv) != 0) {
if (task_spawn(fname, argv) != 0) {
/* Success */
sleep(1);
}
/branches/dynload/uspace/app/cli/cli.c
97,7 → 97,7
}
printf("\n");
 
task_spawn_ex(argv_buf[0], argv_buf);
task_spawn(argv_buf[0], argv_buf);
}
 
 
/branches/dynload/uspace/lib/libc/include/task.h
40,8 → 40,7
typedef uint64_t task_id_t;
 
extern task_id_t task_get_id(void);
task_id_t task_spawn_ex(const char *path, const char *argv[]);
extern int task_spawn(void *image, size_t size);
task_id_t task_spawn(const char *path, const char *argv[]);
 
#endif
 
/branches/dynload/uspace/lib/libc/generic/task.c
122,7 → 122,7
* @param argv command-line arguments
* @return ID of the newly created task or zero on error.
*/
task_id_t task_spawn_ex(const char *path, const char *argv[])
task_id_t task_spawn(const char *path, const char *argv[])
{
int phone_id;
ipc_call_t answer;
169,10 → 169,5
return 0;
}
 
int task_spawn(void *image, size_t size)
{
return __SYSCALL2(SYS_TASK_SPAWN, (sysarg_t) image, (sysarg_t) size);
}
 
/** @}
*/