A C implementation of hawk