fsautoproc
Basic file transformation automation management utility
Loading...
Searching...
No Matches
prog.c File Reference

Progress bar format and printing implementation. More...

#include "prog.h"
#include <stdio.h>
Include dependency graph for prog.c:

Macros

#define PROGBARLEN   15
 The fixed length of a formatted progress bar.
 

Functions

void printprogbar (const long curr, const long max)
 Print a progress bar to stdout.
 

Detailed Description

Progress bar format and printing implementation.

Macro Definition Documentation

◆ PROGBARLEN

#define PROGBARLEN   15

The fixed length of a formatted progress bar.

Function Documentation

◆ printprogbar()

void printprogbar ( long curr,
long max )

Print a progress bar to stdout.

Parameters
currThe current progress value.
maxThe maximum progress value.
Here is the caller graph for this function: