MCPcopy Create free account
hub / github.com/boostorg/build / timestamp_formatstr

Function timestamp_formatstr

src/engine/timestamp.c:187–196  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

185
186
187static char const * timestamp_formatstr( timestamp const * const time,
188 char const * const format )
189{
190 static char result1[ 500 ];
191 static char result2[ 500 ];
192 strftime( result1, sizeof( result1 ) / sizeof( *result1 ), format, gmtime(
193 &time->secs ) );
194 sprintf( result2, result1, time->nsecs );
195 return result2;
196}
197
198
199char const * timestamp_str( timestamp const * const time )

Callers 2

timestamp_strFunction · 0.85
timestamp_timestrFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected