From: Neal Becker (ndbecker2_at_gmail.com)
Date: Sun Jul 29 2007 - 04:42:06 PDT
My blcr usage looks like this: if (rename (name.c_str(), oldname.c_str()) != 0 and errno != ENOENT) die ("rename failed"); cr_request_file (name.c_str()); cr_enter_cs(id); cr_leave_cs(id); if (remove (oldname.c_str()) != 0 and errno != ENOENT) die ("remove failed"); I don't see any API docs. The only example I can find is cr_checkpoint.c, which seems rather different than the above. Is my code 'reasonable'? Can you suggest improvement?