Definition of gaff

What does the word gaff mean?