I guess there is no reason not to have this in C.