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

# rio\_find\_mport(9)

find RIO mport by its ID

## NAME

rio\_find\_mport - find RIO mport by its ID

## SYNOPSIS

**struct rio\_mport \* rio\_find\_mport(int** *mport\_id***);**

## ARGUMENTS

*mport\_id*

number (ID) of mport device

## DESCRIPTION

Given a RIO mport number, the desired mport is located in the global list of mports. If the mport is found, a pointer to its data structure is returned. If no mport is found, **NULL** is returned.

## AUTHOR

**Matt Porter** \<mporter@kernel.crashing.org\>, \<mporter@mvista.com\>

Author.

## COPYRIGHT
