What is the meaning of Headmaster?

A male school principal.

Source: wiktionary.org