Miscellaneous C utility programs