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

# hsi\_flush(9)

Flush all pending transactions on the client's port

## NAME

hsi\_flush - Flush all pending transactions on the client's port

## SYNOPSIS

**int hsi\_flush(struct hsi\_client \*** *cl***);**

## ARGUMENTS

*cl*

Pointer to the HSI client

## DESCRIPTION

This function will destroy all pending hsi\_msg in the port and reset the HW port so it is ready to receive and transmit from a clean state.

Return -errno on failure, 0 on success

## COPYRIGHT
