Potential bug: Assumption that POSIX time functions do not clobber errno