btrfs: Attempt to fix GCC2 build.
[haiku.git] / src / system / libroot / os / team.c
blobb22b3d584ca666688aaf31c3b48708e360428efd
1 /*
2 ** Copyright 2002-2004, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
3 ** Distributed under the terms of the MIT License.
4 */
7 #include <OS.h>
8 #include "syscalls.h"
11 // this call does not exist in BeOS R5
12 #if 0
13 status_t
14 wait_for_team(team_id team, status_t *_returnCode)
16 return _kern_wait_for_team(team, _returnCode);
18 #endif
21 status_t
22 _get_team_usage_info(team_id team, int32 who, team_usage_info *info, size_t size)
24 return _kern_get_team_usage_info(team, who, info, size);
28 status_t
29 kill_team(team_id team)
31 return _kern_kill_team(team);
35 status_t
36 _get_team_info(team_id team, team_info *info, size_t size)
38 if (info == NULL || size != sizeof(team_info))
39 return B_BAD_VALUE;
41 return _kern_get_team_info(team, info);
45 status_t
46 _get_next_team_info(int32 *cookie, team_info *info, size_t size)
48 if (info == NULL || size != sizeof(team_info))
49 return B_BAD_VALUE;
51 return _kern_get_next_team_info(cookie, info);