int yt_commit();
libyt
YT_SUCCESS
YT_FAIL
if ( yt_commit() != YT_SUCCESS ) { fprintf( stderr, "ERROR: yt_commit() failed!\n" ); exit( EXIT_FAILURE ); }