Definition of cock

What does the word cock mean?