time.h: provide more interface