The mechanism of N-terminal acetylation of proteins.