The CCP4 C-library provides many utility functions which either give specific CCP4 functionality (e.g. traditional keyword parsing) or are just generally useful (platform independent date).