curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder Daniel himself.

Re: C11 gmtime_s support in curlx_gmtime

From: Daniel Stenberg via curl-library <curl-library_at_lists.haxx.se>
Date: Thu, 30 Apr 2026 15:09:09 +0200 (CEST)

On Thu, 30 Apr 2026, Joseph Chen via curl-library wrote:

> curlx_gmtime() handles Windows gmtime_s and gmtime_r, but not the C11
> gmtime_s(const time_t*, struct tm*) variant. Would it make sense to support
> this version as well?

Is there actually a time or place where gmtime_s() is present but gmtime_r()
is not?

-- 
  / daniel.haxx.se || https://rock-solid.curl.dev
-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2026-04-30