---
name: "iv_quit"
section: "3"
platform: "linux"
package: "libivykis-dev"
version: "0.43.2-1+b1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/iv_quit"
---

# iv\_quit(3)

signal ivykis to exit the main loop

## NAME

iv\_quit - signal ivykis to exit the main loop

## SYNOPSIS

**#include \<iv.h\>**

**void iv\_quit(void);**\

## DESCRIPTION

**iv\_quit** signals ivykis to exit the current thread's main loop.

If called from any callback function, **iv\_quit** will cause the [**iv\_main**(3)](/iv_main/3.md) function called from the current thread to return.  It is not meant to be used casually.

## SEE ALSO

[**ivykis**(3)](/ivykis/3.md), [**iv\_examples**(3)](/iv_examples/3.md)
