Macros | Functions | Variables
febase.cc File Reference
#include <kernel/mod2.h>
#include <omalloc/omalloc.h>
#include <reporter/reporter.h>
#include <misc/options.h>
#include <stdlib.h>
#include <stdio.h>
#include <misc/mylimits.h>
#include <stdarg.h>
#include <sys/stat.h>
#include <ctype.h>
#include <unistd.h>

Go to the source code of this file.

Macros

#define fePutChar(c)   fputc((unsigned char)(c),stdout)
 
#define MAX_FILE_BUFFER   4*4096
 

Functions

void monitor (void *F, int mode)
 

Variables

int si_echo = 0
 
int printlevel = 0
 
int colmax = 80
 
char prompt_char = '>'
 
int yylineno = 0
 
int myynest = -1
 
int traceit = 0
 
char my_yylinebuf [80]
 

Macro Definition Documentation

◆ fePutChar

#define fePutChar (   c)    fputc((unsigned char)(c),stdout)

Definition at line 30 of file febase.cc.

◆ MAX_FILE_BUFFER

#define MAX_FILE_BUFFER   4*4096

Definition at line 39 of file febase.cc.

Function Documentation

◆ monitor()

void monitor ( void *  F,
int  mode 
)

Definition at line 72 of file febase.cc.

73 {
74  if (feProt)
75  {
76  fclose(feProtFile);
77  feProt = 0;
78  }
79  if (F!=NULL)
80  {
81  feProtFile = (FILE *)F;
82  feProt = mode;
83  }
84 }
FILE * feProtFile
Definition: reporter.cc:57
int feProt
Definition: reporter.cc:56
#define NULL
Definition: omList.c:10

Variable Documentation

◆ colmax

int colmax = 80

Definition at line 43 of file febase.cc.

◆ my_yylinebuf

char my_yylinebuf[80]

Definition at line 48 of file febase.cc.

◆ myynest

int myynest = -1

Definition at line 46 of file febase.cc.

◆ printlevel

int printlevel = 0

Definition at line 42 of file febase.cc.

◆ prompt_char

char prompt_char = '>'

Definition at line 44 of file febase.cc.

◆ si_echo

int si_echo = 0

Definition at line 41 of file febase.cc.

◆ traceit

int traceit = 0

Definition at line 47 of file febase.cc.

◆ yylineno

int yylineno = 0

Definition at line 45 of file febase.cc.