Is there a simple way of determining how many (if any) leap seconds are applied for a given implementation of:
time_t unix_seconds = mktime(&my_tm);
For example, is there a field that is populated in my_tm?
Otherwise, I suppose my option is test for known time_t values for given times bordering leap second transitions, but it would be nice if there was something more convenient.