Meaning of BARRING in English

BARRING

prepositionI can't understand why anybody, barring (= except for) a masochist, would want to play such a violent game.We should arrive at ten o'clock, barring any (= if there are no) unexpected delays.

Cambridge English vocab.      Кембриджский английский словарь.