A grab bag of C code.