Time to dust off my C skills after hanging out with high-level languages for a while