some systems don't take the 2nd argument */
| 155 | |
| 156 | /* some systems don't take the 2nd argument */ |
| 157 | int sys_gettimeofday(struct timeval *tv) |
| 158 | { |
| 159 | #ifdef HAVE_GETTIMEOFDAY_TZ |
| 160 | return gettimeofday(tv, NULL); |
| 161 | #else |
| 162 | return gettimeofday(tv); |
| 163 | #endif |
| 164 | } |
| 165 | |
| 166 | /* Return the int64 number as a string. If the human_flag arg is non-zero, |
| 167 | * we may output the number in K, M, G, or T units. If we don't add a unit |