| 889 | } |
| 890 | |
| 891 | void print_eta(time_t seconds) |
| 892 | { |
| 893 | struct tm *p; |
| 894 | |
| 895 | if (!seconds) |
| 896 | return; |
| 897 | |
| 898 | p = gmtime(&seconds); |
| 899 | |
| 900 | nprintf(" remaining "); |
| 901 | if (p->tm_yday) |
| 902 | nprintf("%d day%s ", p->tm_yday, p->tm_yday > 1 ? "s" : ""); |
| 903 | nprintf("%d:%02d:%02d", p->tm_hour, p->tm_min, p->tm_sec); |
| 904 | } |
| 905 | |
| 906 | void copy_and_clean_results(result_t *results, int result_count, char copy) |
| 907 | { |
no test coverage detected