![]() |
Octopus
|
Go to the source code of this file.
Functions | |
| void | progress_bar (int actual, int max) |
| Progress bar dispatcher. More... | |
| void | sysname (char **c) |
| void progress_bar | ( | int | actual, |
| int | max | ||
| ) |
Progress bar dispatcher.
Displays a progress bar only when:
./octopusProgress will not print when redirecting stdout, piping or running in the background:
./octopus > std.out./octopus >> append.log./octopus | cat./octopus & | actual | Progress count. Use -1 on the first call to initialise. |
| max | Total work count (must be > 0). |