---
name: "iom_abort"
section: "3"
platform: "linux"
package: "libowfat-dev"
version: "0.32-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/iom_abort"
---

# iom\_abort(3)

abort all pending iom\_wait calls

## NAME

iom\_abort - abort all pending iom\_wait calls

## SYNTAX

**#include \<libowfat/io.h\>**

int **iom\_abort**(iomux\_t\* c);

## DESCRIPTION

*iom\_abort* will cause all currently running instances of *iom\_wait* to return immediately with return value -2.

## LINKING

You may have to add *-lpthread* to the command line in the linking step.

## RETURN VALUE

iom\_abort returns 0 on success and -1 on error, setting errno.

## SEE ALSO

iom\_init, iom\_add, iom\_wait
