Scroll to navigation

AuKillClient(3) Library Functions Manual AuKillClient(3)

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

Specifies the connection to the audio server.
Specifies the resource associated with the client to be destroyed or the constant AuCloseDownDestroy.
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

1.9.4 audiolib - client connections