output.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  output

Defines

#define outc(c, file)   (--(file)->nleft < 0? (emptyoutbuf(file), *(file)->nextc++ = (c)) : (*(file)->nextc++ = (c)))
#define out1c(c)   outc(c, out1);
#define out2c(c)   outc(c, out2);
#define OUTPUT_INCL

Functions

void outstr ()
void out1str ()
void out2str ()
void outfmt ()
void out1fmt ()
void fmtstr ()
void doformat ()
void emptyoutbuf ()
void flushall ()
void flushout ()
void freestdout ()
int xwrite ()
int xioctl ()

Variables

output output
output errout
output memout
outputout1
outputout2


Define Documentation

#define out1c c   )     outc(c, out1);
 

Definition at line 90 of file output.h.

Referenced by jobidcmd(), printentry(), and pwdcmd().

#define out2c c   )     outc(c, out2);
 

Definition at line 91 of file output.h.

Referenced by chkmail(), error(), and main().

#define outc c,
file   )     (--(file)->nleft < 0? (emptyoutbuf(file), *(file)->nextc++ = (c)) : (*(file)->nextc++ = (c)))
 

Definition at line 89 of file output.h.

Referenced by beep(), clrscr(), curs_set(), doformat(), doprnt(), endwin(), evalcommand(), flash(), fmtstr(), main(), newattr(), outstr(), poscur(), and puti().

#define OUTPUT_INCL
 

Definition at line 93 of file output.h.


Function Documentation

void doformat  ) 
 

void emptyoutbuf  ) 
 

void flushall  ) 
 

Definition at line 177 of file output.c.

References errout, flushout(), and output.

void flushout  ) 
 

void fmtstr  ) 
 

void freestdout  ) 
 

Definition at line 198 of file output.c.

References output::buf, ckfree, INTOFF, INTON, output::nleft, NULL, and output.

void out1fmt  ) 
 

void out1str  ) 
 

void out2str  ) 
 

void outfmt  ) 
 

void outstr  ) 
 

int xioctl  ) 
 

int xwrite  ) 
 


Variable Documentation

struct output errout
 

Definition at line 73 of file output.c.

Referenced by error(), evalcommand(), evalvar(), flushall(), main(), preadbuffer(), and synerror().

struct output memout
 

Definition at line 74 of file output.c.

Referenced by main().

struct output* out1
 

Definition at line 75 of file output.c.

Referenced by main(), out1fmt(), and out1str().

struct output* out2
 

Definition at line 76 of file output.c.

Referenced by out2str().

struct output output
 

Definition at line 72 of file output.c.


Generated on Fri Apr 14 22:59:05 2006 for minix by  doxygen 1.4.6