1/* 2** Copyright 2002-2004, Axel D��rfler, axeld@pinc-software.de. All rights reserved. 3** Distributed under the terms of the OpenBeOS License. 4*/ 5 6 7#include <OS.h> 8#include "syscalls.h" 9 10 11// this call does not exist in BeOS R5 12#if 0 13status_t 14wait_for_team(team_id team, status_t *_returnCode) 15{ 16 return _kern_wait_for_team(team, _returnCode); 17} 18#endif 19 20 21status_t 22_get_team_usage_info(team_id team, int32 who, team_usage_info *info, size_t size) 23{ 24 return _kern_get_team_usage_info(team, who, info, size); 25} 26 27 28status_t 29kill_team(team_id team) 30{ 31 return _kern_kill_team(team); 32} 33 34 35status_t 36_get_team_info(team_id team, team_info *info, size_t size) 37{ 38 if (info == NULL || size != sizeof(team_info)) 39 return B_BAD_VALUE; 40 41 return _kern_get_team_info(team, info); 42} 43 44 45status_t 46_get_next_team_info(int32 *cookie, team_info *info, size_t size) 47{ 48 if (info == NULL || size != sizeof(team_info)) 49 return B_BAD_VALUE; 50 51 return _kern_get_next_team_info(cookie, info); 52} 53 54