MCPcopy Create free account
hub / github.com/cgsecurity/testdisk / _date_hours_to_seconds

Function _date_hours_to_seconds

src/common.c:350–353  ·  view source on GitHub ↗

@ @ requires 0 <= h <= 0x3f; @ terminates \true; @ ensures 0 <= \result <= 0x3f * SECS_PER_HOUR; @ assigns \nothing; @*/

Source from the content-addressed store, hash-verified

348 @ assigns \nothing;
349 @*/
350static unsigned long int _date_hours_to_seconds(const unsigned long int h)
351{
352 return h * SECS_PER_HOUR;
353}
354
355/*@
356 @ requires -14*3600 <= secwest <= 12*3600;

Callers 1

date_dos2unixFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected