SIMPLE SOLUTIONS

MUROAR_QUIT(3) - man page online | library functions

Disconnect from RoarAudio sound server.

Chapter
April 2012
muroar_quit(3)                      muRoar Programmer's Manual                     muroar_quit(3)

NAME

muroar_quit - Disconnect from RoarAudio sound server

SYNOPSIS

#include <muroar.h> int muroar_quit (muroar_t fh);

DESCRIPTION

This function disconnects a control connection from the sound server in a clean way. The socket is closed by this function. No additional close(2) is needed. Open data connections (streams) which are created by muroar_stream(3) must not be closed using this function. They must be closed using muroar_close(3).

RETURN VALUE

On success this call return 0. On error, -1 is returned.

HISTORY

This function first appeared in muRoar version 0.1rc0.

SEE ALSO

muroar_connect(3), muroar_close(3), RoarAudio(7).
muRoar April 2012 muroar_quit(3)
This manual Reference Other manuals
muroar_quit(3) referred by muroar_beep(3) | muroar_close(3) | muroar_connect(3)
refer to close(2) | muroar_close(3) | muroar_connect(3) | muroar_stream(3) | RoarAudio(7)