/* environment_end() - compute offset of first byte right after environment @dev - index of enviroment buffer Return: device offset of first byte right after environment  */
off_t environment_end(int dev)
/* environment_end() - compute offset of first byte right after environment @dev - index of enviroment buffer Return: device offset of first byte right after environment  */
off_t environment_end(int dev)
{
	return DEVOFFSET(dev) + ENVSECTORS(dev) * DEVESIZE(dev);
}