In any event POSIX time stamps are fine w.r.t. leap seconds, it's the conversion functions which may or may not reflect them.