Replaced the old _kern_create_team() syscall with a BeOS style _kern_load_image().

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9356 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2004-10-14 17:46:48 +00:00
parent eb89cb7f1d
commit e56c30d87d
2 changed files with 3 additions and 3 deletions

View File

@ -57,8 +57,8 @@ int sys_set_sem_owner(sem_id id, team_id proc);
/* team & thread syscalls */
extern void _kern_exit(int returnCode);
extern team_id _kern_create_team(const char *path, const char *name, char **args, int argc,
char **envp, int envc, int priority);
extern thread_id _kern_load_image(int32 argCount, const char **args,
int32 envCount, const char **envp, int32 priority);
extern status_t _kern_kill_team(team_id team);
extern team_id _kern_get_current_team();
extern status_t _kern_wait_for_team(team_id team, status_t *_returnCode);

View File

@ -31,7 +31,7 @@ bool team_is_valid(team_id id);
struct team *team_get_team_struct_locked(team_id id);
// used in syscalls.c
team_id _user_create_team(const char *path, const char *name, char **args, int argc, char **envp, int envc, int priority);
thread_id _user_load_image(int32 argCount, const char **args, int32 envCount, const char **envp, int32 priority);
status_t _user_wait_for_team(team_id id, status_t *_returnCode);
status_t _user_kill_team(thread_id thread);
thread_id _user_wait_for_child(thread_id child, uint32 flags, int32 *_reason, status_t *_returnCode);