get_next_sem_info
while (get_next_sem_info(tinfo->team, &cookie, &info) == B_OK)
while (get_next_sem_info(fTeamID, &cookie, &semInfo) == B_OK) {
while (get_next_sem_info(B_CURRENT_TEAM, &cookie, &semInfo) == B_OK)
status_t result = get_next_sem_info(team, (int32*)cookie, &systemInfo);