---
name: "AuKillClient"
section: "3nas"
platform: "linux"
package: "libaudio-dev"
version: "1.9.4-9"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/AuKillClient"
---

# AuKillClient(3nas)

destroy a client or its remaining resources

## Name

**AuKillClient** - destroy a client or its remaining resources

## Synopsis

\#include \<audio/audiolib.h\>

void **AuKillClient**(*server*, *resource*, *status*)\
\
     **AuServer** \**server*;\
\
     **AuID** *resource*;\
\
     **AuStatus** \**status*; /\* **RETURN** \*/

## Arguments

- *server*

  Specifies the connection to the audio server.

- *resource*

  Specifies the resource associated with the client to be destroyed or the constant **AuCloseDownDestroy**.

- *status*

  If non-NULL, flush the output buffer and return the status from the server.

## Description

**AuKillClient** forces a close-down of the client that created *resource*. If the client has already terminated in either **AuCloseDownRetainPermanent** or **AuCloseDownRetainTemporary** mode, all of the client's resources are destroyed. If *resource* is **AuCloseDownDestroy**, the resources of all clients that have terminated in **AuCloseDownRetainTemporary** are destroyed.

## Errors

**AuBadValue**.

## See Also

**AuSetCloseDownMode**.

audiolib - **Network Audio System** C Language Interface
