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

Function timestamp_formatstr

v2/engine/timestamp.c:186–195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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