meaning of ahooy

ahooy meaning in Urban Dictionary

It really is a thing sailors jail once they see another ship or boat on the horisont.