ISO C implementation of an ad-hoc extension library