---
name: "insert_resource_expand_to_fit"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/insert_resource_expand_to_fit"
---

# insert\_resource\_expand\_to\_fit(9)

Insert a resource into the resource tree

## NAME

insert\_resource\_expand\_to\_fit - Insert a resource into the resource tree

## SYNOPSIS

**void insert\_resource\_expand\_to\_fit(struct resource \*** *root***, struct resource \*** *new***);**

## ARGUMENTS

*root*

root resource descriptor

*new*

new resource to insert

## DESCRIPTION

Insert a resource into the resource tree, possibly expanding it in order to make it encompass any conflicting resources.

## COPYRIGHT
