---
name: "sasl_idle"
section: "3"
platform: "macos"
package: "passwordserver_sasl"
version: "215"
release: "macOS 26.5"
platforms: ["linux", "macos"]
url: "https://new.carta.tech/sasl_idle"
---

# sasl\_idle(3)

Perform precalculations during an idle period

## NAME

sasl\_idle - Perform precalculations during an idle period

## SYNOPSIS

```
#include <sasl/sasl.h>

int sasl_idle( sasl_conn_t *conn)
```

## DESCRIPTION

**sasl\_idle** may be called during an idle period to allow the SASL library or any mechanisms to perform any necessary precalculation.

*conn* may be NULL to do precalculation prior to a connection taking place.

## RETURN VALUE

Returns 1 if action was taken, 0 if no action was taken.

## CONFORMING TO

RFC 4422

## SEE ALSO

[sasl(3)](/sasl/3.md)
