rem: while (get_next_area_info (id, &cookie, &this_area) == B_OK) { printf ("%5d %29s %.8x %8x %8x %5d %5d %5d\n", this_area.area, this_area.name, this_area.address, this_area.size, this_area.ram_size, this_area.copy_count, this_area.in_count, this_area.out_count); }
add: while (get_next_area_info(id, &cookie, &this_area) == B_OK) { printf("%5d %29s %.8x %8x %8x %5d %5d %5d\n", this_area.area, this_area.name, this_area.address, this_area.size, this_area.ram_size, this_area.copy_count, this_area.in_count, this_area.out_count);
context: list_area_info (team_id id)	{		int32      cookie = 0;	team_info  this_team;	area_info  this_area;		if (get_team_info (id, &this_team) == B_BAD_TEAM_ID)		{		printf ("\nteam %d unknown\n", id);		return;		}	printf ("\nTEAM %4d (%s):\n", id, this_team.args);	printf ("  ID                           name  address     size   alloc. #-cow  #-in #-out\n");	printf ("--------------------------------------------------------------------------------\n");		while (get_next_area_info (id, &cookie, &this_area) == B_OK)		{		printf ("%5d %29s %.8x %8x %8x %5d %5d %5d\n",		         this_area.area,		         this_area.name,		         this_area.address,		         this_area.size,		         this_area.ram_size,		         this_area.copy_count,		         this_area.in_count,		         this_area.out_count);		}	}