Query: roar_vio_close
OS: debian
Section: 3
Links: debian man pages all man pages
Forums: unix linux community forum categories
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
roar_vio_close(3) System Manager's Manual: RoarAudio roar_vio_close(3)NAMEroar_vio_close.3 - close a RoarAudio virtual IO objectSYNOPSIS#include <roaraudio.h> int roar_vio_close (struct roar_vio_calls * vio);DESCRIPTIONCloses a VIO object. Also ensures all data to be fushed to disk or send via sockets. The given vio object itself is not freed as normaly located in the applications stack. if you want it to be freed you need to call free(3) yourself.PARAMETERSvio The VIO object to be closed.RETURN VALUEOn success these calls return 0. On error, -1 is returned.EXAMPLESstruct roar_vio_calls obj; roar_vio_open_fh(&obj, ROAR_STDOUT); roar_vio_puts(&obj, "Hello World! "); roar_vio_close(&obj);SEE ALSOroarvio(7), libroar(7), RoarAudio(7). RoarAudio May 2011 roar_vio_close(3)