eemain.c File Reference

#include "elle.h"
#include <stdio.h>
#include <signal.h>

Include dependency graph for eemain.c:

Go to the source code of this file.

Functions

 main (int argc, char **argv)
 doargs (int argc, char **argv)
int f_throw ()
int bite_bag ()
int hup_exit ()
 initialize ()
 ring_bell ()
 f_retsup ()
 f_wfexit ()
 f_pshinf ()
char * strdup (char *s)
char * memalloc (SBMO size)
 chkfree (SBMA ptr)
 ustrcmp (char *str1, char *str2)
 writerr (char *str)
 writez (int fd, char *acp)

Variables

char * argfile [MAXARGFILES]
int(* sbm_debug )()
int(* sbv_debug )()
int(* vfy_vec )()
char * prof_file
majmode ifunmode = { "Fundamental" }


Function Documentation

int bite_bag  ) 
 

chkfree SBMA  ptr  ) 
 

Definition at line 464 of file eemain.c.

References askerr(), errbarf(), and free.

Referenced by ask_kbuf(), f_kbuffer(), f_retsup(), f_selbuffer(), f_selxbuffer(), f_sfpref(), hack_file(), i_search(), iwritfile(), set_fn(), srch_ask(), and u_r_file().

doargs int  argc,
char **  argv
 

Definition at line 112 of file eemain.c.

References argfile, c, cnt, dbg_isw, exit(), MAXARGFILES, printf, sleep, stop(), strlen(), tibfmsk, tv_stype, and upcase().

Referenced by main().

f_pshinf  ) 
 

Definition at line 374 of file eemain.c.

References clean_exit(), close, execl, exit(), fork, forkexec(), getenv(), int(), NULL, pid, RD_MODE, RD_SCREEN, redp, set_tty(), shellname, SIG_DFL, SIG_IGN, SIGINT, signal(), SIGQUIT, status, strcat(), strcpy(), wait, and writerr().

Referenced by dbg_diag().

f_retsup  ) 
 

Definition at line 280 of file eemain.c.

References ask(), b, b2, barf(), c, chkfree(), clean_exit(), cur_buf, exit(), exp_p, RD_SCREEN, redp, reply, ring_bell, saynow(), sel_buf(), sel_mbuf(), set_tty(), ts_pause(), tsf_pause, and upcase().

f_throw  ) 
 

Definition at line 248 of file eemain.c.

References curs_lin, RD_MOVE, redp, reset, ring_bell, signal(), and SIGQUIT.

Referenced by initialize().

f_wfexit  ) 
 

Definition at line 357 of file eemain.c.

References clean_exit(), exit(), exp_p, f_savefiles, and saynow().

int hup_exit  ) 
 

Definition at line 102 of file eeerr.c.

References exit(), saveworld(), and trm_mode.

Referenced by initialize().

initialize void   ) 
 

Definition at line 197 of file eemain.c.

References bite_bag(), cur_mode, f_throw(), fun_mode, getenv(), hoard(), homedir, hup_exit(), ifunmode, init_buf(), pgoal, redp_init(), sbx_tset(), set_profile(), SIGBUS, SIGHUP, SIGILL, signal(), SIGQUIT, SIGSEGV, SIGSYS, and unrchf.

main int  argc,
char **  argv
 

Definition at line 26 of file eemain.c.

References ARGCMD, argfile, c, doargs(), errsbm(), exp, exp_p, f_2winds, f_othwind, find_file(), i, initialize(), last_cmd, MAXARGFILES, NULL, RD_MODE, RD_SCREEN, redp, sbm_debug, sbm_init(), sbv_debug, setbuf(), setexit, stderr, stdout, and this_cmd.

char* memalloc SBMO  size  ) 
 

Definition at line 452 of file eemain.c.

References askerr(), barf(), ptr, and sbx_malloc().

Referenced by f_sfpref(), i_search(), make_buf(), make_win(), and strdup().

ring_bell  ) 
 

Definition at line 261 of file eemain.c.

References f_ekmac, and t_bell().

char* strdup char *  s  ) 
 

Definition at line 445 of file eemain.c.

References memalloc(), strcpy(), and strlen().

Referenced by add_name(), addUsedEntry(), dos_target_lookup(), FindMatches(), hist_add(), last_argument(), make_buf(), makedir(), mcopy(), mwrite_one(), opt_add(), parse(), parse_old_device_line(), pat_sel(), push_attr(), readline(), search_hist(), set_fn(), set_var(), SplitPath(), TTYinfo(), and unix_target_lookup().

ustrcmp char *  str1,
char *  str2
 

Definition at line 479 of file eemain.c.

References c, and upcase().

Referenced by efun(), findkey(), strueq(), and t_init().

writerr char *  str  ) 
 

Definition at line 496 of file eemain.c.

References writez().

writez int  fd,
char *  acp
 

Definition at line 503 of file eemain.c.

References cp, and write.

Referenced by askerr(), clean_exit(), dbg_diag(), and writerr().


Variable Documentation

char* argfile[MAXARGFILES]
 

Definition at line 19 of file eemain.c.

Referenced by doargs(), and main().

struct majmode ifunmode = { "Fundamental" }
 

Definition at line 195 of file eemain.c.

Referenced by initialize().

char* prof_file
 

Definition at line 110 of file eemain.c.

int(* sbm_debug)()
 

Definition at line 32 of file sbm.c.

Referenced by main(), and sbm_err().

int(* sbv_debug)()
 

Definition at line 200 of file sbstr.c.

Referenced by main(), sbx_err(), and sbx_rugpull().

int(* vfy_vec)()
 

Definition at line 23 of file eemain.c.

Referenced by f_debug().


Generated on Fri Apr 14 23:02:35 2006 for minix by  doxygen 1.4.6