Various useful C programs