MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / cbm_gmtime_r

Function cbm_gmtime_r

src/foundation/compat.h:99–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97/* ── gmtime_r (Windows lacks it) ─────────────────────────────── */
98#ifdef _WIN32
99static inline struct tm *cbm_gmtime_r(const time_t *timep, struct tm *result) {
100 return gmtime_s(result, timep) == 0 ? result : NULL;
101}
102#else
103#define cbm_gmtime_r gmtime_r
104#endif

Callers 2

iso_nowFunction · 0.85
generate_iso_timestampFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected