progressbar.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <unistd.h>
#include <string.h>

Include dependency graph for progressbar.c:

Go to the source code of this file.

Defines

#define WIDTH   77
#define LINES   5

Functions

 _PROTOTYPE (int main,(int argc, char **argv))
void prettyprogress (long b, long maxb, time_t starttime)
int main (int argc, argv)


Define Documentation

#define LINES   5
 

Referenced by Abort(), clrupdate(), endwin(), fillkeybuf(), getsize(), ini_terminal(), initopts(), initscr(), m_row(), m_scroll(), m_wsrch(), main(), mvcur(), mvwin(), newwin(), Putchar(), redraw(), resume_curses(), ScreenEnd(), ScreenInit(), setterm(), showmsg(), v_keyword(), v_quit(), v_xit(), vgets(), and window().

#define WIDTH   77
 

Referenced by main(), and prettyprogress().


Function Documentation

_PROTOTYPE int  main,
(int argc, char **argv) 
 

int main int  argc,
argv 
 

Definition at line 47 of file progressbar.c.

References atol(), count, fgets(), i, LINES, nl, prettyprogress(), printf, start, stdin, strchr, time, and time_t.

void prettyprogress long  b,
long  maxb,
time_t  starttime
 

Definition at line 11 of file progressbar.c.

References i, now, printf, time, time_t, and WIDTH.

Referenced by main().


Generated on Fri Apr 14 23:07:12 2006 for minix by  doxygen 1.4.6