Site Tools


documentation:development:opera:pf25:ppgfldr:pgsfldr:spr:05spr002

CompareTimes

Compares two time values.

Synopsis

int32 CompareTimes(const TimeVal *tv1,const TimeVal *tv2);

Description

Compares two time values to determine which came first.

Arguments

  • tv1 The first time value.
  • tv2 The second time value.

Return Value

< 0 if (tv1 < tv2)

== 0 if (tv1 == tv2)

0 if (tv1 > tv2)

Implementation

Convenience call implemented in clib.lib V24.

Associated Files

time.h, clib.lib

See Also

documentation/development/opera/pf25/ppgfldr/pgsfldr/spr/05spr002.txt · Last modified: 2022/10/10 16:53 by 127.0.0.1