if (operation_succeeded) { return 0; } else { return 1; }