---
name: "mca_mark_as_used"
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/mca_mark_as_used"
---

# mca\_mark\_as\_used(9)

claim an MCA device

## NAME

mca\_mark\_as\_used - claim an MCA device

## SYNOPSIS

**int mca\_mark\_as\_used(int** *slot***);**

## ARGUMENTS

*slot*

slot to claim

## FIXME

should we make this threadsafe

Claim an MCA slot for a device driver. If the slot is already taken the function returns 1, if it is not taken it is claimed and 0 is returned.

## AUTHORS

**Alan Cox** \<alan@lxorguk.ukuu.org.uk\>

Author.

**David Weinehall**

Author.

**Chris Beauregard**

Author.

## COPYRIGHT
