bstr_time_compare(3) — Subroutines
Name
bstr_time_compare − Compares two BASEstar Open time values.
Syntax
bstr_t_integer32 bstr_time_compare (
bstr_t_time ∗time1,
bstr_t_time ∗time2);
Description
The bstr_time_compare procedure returns a value indicating the result of the comparison between the specified BASEstar Open time values.
Arguments
time1
access: read
The address of a bstr_t_time variable containing the first BASEstar Open time value to be compared.
time2
access: read
The address of a bstr_t_time variable containing the second BASEstar Open time value to be compared.
Return Values
| BSTR_S_COM_PC_SIZE_MISMATCH | Number of bytes requested does not match the number of bytes returned |
| -1 | time2 is greater than time1. |
| #0 | The time values are equal. |
| #1 | time1 is greater than time2. |
See Also
| bstr_time_convert | # |
| bstr_time_to_string | # |