---
name: "parport_get_port"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/parport_get_port"
---

# parport\_get\_port(9)

increment a port's reference count

## NAME

parport\_get\_port - increment a port's reference count

## SYNOPSIS

**struct parport \* parport\_get\_port(struct parport \*** *port***);**

## ARGUMENTS

*port*

the port

## DESCRIPTION

This ensures that a struct parport pointer remains valid until the matching **parport\_put\_port** call.

## COPYRIGHT
