A couple of useful C modules