src/commands/ash/output.h File Reference

#include <stdarg.h>

Go to the source code of this file.

Classes

struct  output

Defines

#define __printflike(a, b)
#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 open_mem (char *, int, struct output *)
void out1str (const char *)
void out1qstr (const char *)
void out2str (const char *)
void out2qstr (const char *)
void outstr (const char *, struct output *)
void outqstr (const char *, struct output *)
void emptyoutbuf (struct output *)
void flushall (void)
void flushout (struct output *)
void freestdout (void)
void outfmt (struct output *, const char *,...) __printflike(2
void void out1fmt (const char *,...) __printflike(1
void void void dprintf (const char *,...) __printflike(1
void void void void fmtstr (char *, int, const char *,...) __printflike(3
void void void void void doformat (struct output *, const char *, va_list) __printflike(2
void void void void void int xwrite (int, char *, int)

Variables

struct output output
struct output errout
struct output memout
struct outputout1
struct outputout2


Define Documentation

#define __printflike ( a,
b   ) 

Definition at line 56 of file output.h.

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

Definition at line 78 of file output.h.

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

Definition at line 79 of file output.h.

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

Definition at line 77 of file output.h.

#define OUTPUT_INCL

Definition at line 81 of file output.h.


Function Documentation

void void void void void doformat ( struct output ,
const char *  ,
va_list   
)

void void void dprintf ( const char *  ,
  ... 
)

void emptyoutbuf ( struct output  ) 

Definition at line 182 of file output.c.

void flushall ( void   ) 

Definition at line 213 of file output.c.

void flushout ( struct output  ) 

Definition at line 220 of file output.c.

void void void void fmtstr ( char *  ,
int  ,
const char *  ,
  ... 
)

void freestdout ( void   ) 

Definition at line 234 of file output.c.

void open_mem ( char *  ,
int  ,
struct output  
)

void void out1fmt ( const char *  ,
  ... 
)

void out1qstr ( const char *   ) 

Definition at line 124 of file output.c.

void out1str ( const char *   ) 

void out2qstr ( const char *   ) 

void out2str ( const char *   ) 

Definition at line 131 of file output.c.

void outfmt ( struct output ,
const char *  ,
  ... 
)

void outqstr ( const char *  ,
struct output  
)

Definition at line 150 of file output.c.

void outstr ( const char *  ,
struct output  
)

Definition at line 138 of file output.c.

void void void void void int xwrite ( int  ,
char *  ,
int   
)

Definition at line 552 of file output.c.


Variable Documentation

struct output errout

Definition at line 73 of file output.c.

struct output memout

Definition at line 74 of file output.c.

struct output* out1

Definition at line 75 of file output.c.

struct output* out2

Definition at line 76 of file output.c.

struct output output

Definition at line 72 of file output.c.


Generated on Tue Mar 9 04:36:23 2010 for Minix by  doxygen 1.5.8