aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/stdio/vasniprintf.c
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2025-07-17 14:22:28 +0200
committerCorinna Vinschen <corinna@vinschen.de>2025-07-17 14:22:28 +0200
commitf0912e9a74cd082b9ae2e9844095a4743e526529 (patch)
treeba7627432e7476c6539d766a38c02c5c1b790d58 /newlib/libc/stdio/vasniprintf.c
parentc2a8984c7032de7a9335289cf7bec4bbbd0aaff8 (diff)
downloadnewlib-f0912e9a74cd082b9ae2e9844095a4743e526529.zip
newlib-f0912e9a74cd082b9ae2e9844095a4743e526529.tar.gz
newlib-f0912e9a74cd082b9ae2e9844095a4743e526529.tar.bz2
Cygwin: clocks: read leap seconds from registry
Windows 10 1803 introduced leap seconds support in 2018. The OS always starts at 37 leap secs. Additional leap second timestamps are added to the registry key HKLM\SYSTEM\CurrentControlSet\Control\LeapSecondInformation, value LeapSeconds. If the key exists, read the leap second timestamps from this value, otherwise fallback to reading /usr/share/zoneinfo/leapseconds. Note that we might change the file we read from yet, but that's no part of this patch. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'newlib/libc/stdio/vasniprintf.c')
0 files changed, 0 insertions, 0 deletions