2002-10-05 21:07:03 +04:00
|
|
|
/*
|
2004-03-03 04:06:23 +03:00
|
|
|
** Copyright 2002-2004, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
|
2002-10-05 21:07:03 +04:00
|
|
|
** Distributed under the terms of the OpenBeOS License.
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
#include <OS.h>
|
|
|
|
#include "syscalls.h"
|
|
|
|
|
|
|
|
|
2004-03-03 04:06:23 +03:00
|
|
|
// this call does not exist in BeOS R5
|
|
|
|
#if 0
|
2002-10-05 21:07:03 +04:00
|
|
|
status_t
|
2004-03-03 04:06:23 +03:00
|
|
|
wait_for_team(team_id team, status_t *_returnCode)
|
|
|
|
{
|
|
|
|
return _kern_wait_for_team(team, _returnCode);
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
status_t
|
2004-11-26 00:22:14 +03:00
|
|
|
_get_team_usage_info(team_id team, int32 who, team_usage_info *info, size_t size)
|
2002-10-05 21:07:03 +04:00
|
|
|
{
|
2004-11-26 00:22:14 +03:00
|
|
|
return _kern_get_team_usage_info(team, who, info, size);
|
2002-10-05 21:07:03 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
status_t
|
2004-03-03 04:06:23 +03:00
|
|
|
kill_team(team_id team)
|
2002-10-05 21:07:03 +04:00
|
|
|
{
|
2004-03-03 04:06:23 +03:00
|
|
|
return _kern_kill_team(team);
|
2002-10-05 21:07:03 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
status_t
|
|
|
|
_get_team_info(team_id team, team_info *info, size_t size)
|
|
|
|
{
|
2004-03-03 04:06:23 +03:00
|
|
|
if (info == NULL || size != sizeof(team_info))
|
|
|
|
return B_BAD_VALUE;
|
2002-10-05 21:07:03 +04:00
|
|
|
|
2004-03-03 04:06:23 +03:00
|
|
|
return _kern_get_team_info(team, info);
|
2002-10-05 21:07:03 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
status_t
|
|
|
|
_get_next_team_info(int32 *cookie, team_info *info, size_t size)
|
|
|
|
{
|
2004-03-03 04:06:23 +03:00
|
|
|
if (info == NULL || size != sizeof(team_info))
|
|
|
|
return B_BAD_VALUE;
|
2002-10-05 21:07:03 +04:00
|
|
|
|
2004-03-03 04:06:23 +03:00
|
|
|
return _kern_get_next_team_info(cookie, info);
|
2002-10-05 21:07:03 +04:00
|
|
|
}
|
|
|
|
|