---
name: "pci_renumber_slot"
section: "9"
platform: "linux"
package: "linux-manual-3.2"
version: "3.2.78-1"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/pci_renumber_slot"
---

# pci\_renumber\_slot(9)

update struct pci\_slot -\> number

## NAME

pci\_renumber\_slot - update **struct** pci\_slot -\> number

## SYNOPSIS

**void pci\_renumber\_slot(struct pci\_slot \*** *slot***, int** *slot\_nr***);**

## ARGUMENTS

*slot*

struct pci\_slot to update

*slot\_nr*

new number for slot

## DESCRIPTION

The primary purpose of this interface is to allow callers who earlier created a placeholder slot in **pci\_create\_slot** by passing a -1 as slot\_nr, to update their **struct** pci\_slot with the correct *slot\_nr*.

## COPYRIGHT
