handle_to_flags
if ((handle_to_flags(write_handle) & O_APPEND) == 0 &&
if (!(handle_to_flags(handle) & O_APPEND) &&