fix.c File Reference

#include <ctype.h>
#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>

Include dependency graph for fix.c:

Go to the source code of this file.

Defines

#define IGNORE_WHITE_SPACE
#define strcmp   strwcmp
#define LINELEN   1024
#define copy(str)   printf("%s", str)

Functions

 _PROTOTYPE (int main,(int argc, char **argv))
 _PROTOTYPE (char *getline,(FILE *fp, char *b))
 _PROTOTYPE (char *range,(char *s, int *p1, int *p2))
 _PROTOTYPE (int getcommand,(FILE *fp, int *o1, int *o2, char *pcmd, int *n1, int *n2))
 _PROTOTYPE (void fatal,(char *s,...))
 _PROTOTYPE (int strwcmp,(char *s1, char *s2))
 _PROTOTYPE (int whitespace,(int ch))
char * getline (FILE *fp, char *b)
int main (int argc, char **argv)
char * range (char *s, int *p1, int *p2)
int getcommand (FILE *fp, int *o1, int *o2, char *pcmd, int *n1, int *n2)
void fatal (char *s, char *a)
int strwcmp (char *s1, char *s2)
int whitespace (char ch)

Variables

char * prog = 0
char * processing = 0


Define Documentation

#define copy str   )     printf("%s", str)
 

Definition at line 59 of file fix.c.

Referenced by add_file(), build_field(), check_file(), copy1(), decomp(), deliver(), do_getinfo(), extract(), get_block(), give_prompt(), inflate(), inflateBack(), inflateBack9(), inflateCopy(), main(), process(), repeat(), and updatewindow().

#define IGNORE_WHITE_SPACE
 

Definition at line 31 of file fix.c.

#define LINELEN   1024
 

Definition at line 37 of file fix.c.

#define strcmp   strwcmp
 

Definition at line 34 of file fix.c.

Referenced by __ivaliduser(), _mwrite_one(), ack_emit_instruction(), ack_get_statement(), add_file(), add_history(), add_name(), add_v(), addkey(), advance(), analyse_input_files(), ansicolor(), ansiquit(), apply_differences(), ar_close(), ar_next(), AreWeIn(), argmatch(), authaccess(), bas_get_instruction(), bas_get_operand(), bas_get_statement(), basefind(), binary(), bzopen_or_bzdopen(), c_frmt(), cdcmd(), check_file(), check_mtab(), chkentry(), Close(), cmd_append(), cmd_edit(), cmd_move(), cmd_set(), cmd_tag(), cmdcomp(), cmpf(), cnvtfile(), collect(), comm(), compare(), compile(), Cond(), copy(), cpio_trail(), cstart(), Defdev(), Delete(), diff_recursive(), different(), do_ignore(), do_init(), do_parent(), do_rename(), do_svrctl(), doauth(), DOcd(), doconfig(), dodecl(), dodefine(), dodir(), doifelse(), doiobj(), domtype(), doPASS(), doproxyauth(), dopushdef(), doSITE(), dyndep(), eat_dir(), english(), enterDrive(), env_parse(), equal(), equal_line(), eth_check_drivers(), ether_hostton(), extract(), file_open(), file_uncompress(), find(), find_buf(), find_device(), find_file(), find_id(), findauth(), finduser(), first(), fname(), foundin(), fttyslot(), Func2(), fxp_pci_conf(), get1(), get2(), get_tag(), getattributes(), getcwd(), getdecl(), getendif(), getfp(), getgrnam(), gethostinfo(), getlday(), getmp(), getnetbyname(), getopt(), getpat(), getprotobyname(), getpwnam(), Getrec(), getrequest(), getservbyname(), getservbyport(), getsize(), getstat(), gettable(), getttynam(), gid_name(), gnu_emit_instruction(), gnu_get_statement(), hasSuffix(), if(), In(), initgroups(), initopts(), initscr(), insert_id_rec(), inspect(), is_ignored(), is_reserved(), is_sure(), isarg(), isbuiltin(), iskeywd(), isnum(), isoption(), isregister(), isSpecial(), isUniqueTarget(), keyword(), lex(), lex_gettoken(), list(), list_part_types(), listdir(), lockcheck(), logmsg(), lookup(), main(), makepath(), maketree(), mapkey(), match(), mcat(), mcfind(), mcopy(), merge(), mformat(), mimetype(), mkbase(), mkdirp(), mkloader(), mkvec(), mmove(), mpartition(), mtoolstest(), my_getcwd(), name2dev(), namecmp(), newaccess(), newfile(), newname(), Nreq(), open_root_dir(), options(), parse(), parse_arguments(), parseclass(), parsetype(), parseTZ(), Pass3(), passadd(), passfile(), passnone(), passpass(), passuser(), pax_options(), pci_release(), print(), Process(), process(), purl(), r_mkfld(), read_conf(), read_list(), readline(), readmtab(), readstate(), recover(), recurs_dos_loop(), regatoi(), remhash(), remove_dir(), reserved(), rlookup(), rsource(), runvec(), search(), search_dir(), search_mnem(), searchenv(), searchwhatis(), select_region(), selected(), servxcheck(), set(), set_fn(), set_ids(), set_lids(), set_mtime(), set_uart(), setlocale(), setmacro(), SimpleFileOpen(), sort(), sort_dir(), Split(), stat_all(), sub_name(), switch(), tab_parse(), tar_opt(), tar_options(), test11c(), test23a(), test23b(), test23c(), test28a(), test30a(), test31a(), test32a(), test38a(), test38b(), test39d(), test3b(), test3c(), test3d(), test7b(), test_compress(), test_gzio(), test_inflate(), tgetent(), tmpsave(), truecmd(), trymandir(), trysubmandir(), tty_rename(), typefixhack(), uid_name(), unzStringFileNameCompare(), update_mtab(), virt(), vocab(), wcs(), write_direntry(), write_log(), and xstrcmp().


Function Documentation

_PROTOTYPE int  whitespace,
(int ch) 
 

_PROTOTYPE int  strwcmp,
(char *s1, char *s2) 
 

_PROTOTYPE void  fatal,
(char *s,...) 
 

_PROTOTYPE int  getcommand,
(FILE *fp, int *o1, int *o2, char *pcmd, int *n1, int *n2) 
 

_PROTOTYPE char *  range,
(char *s, int *p1, int *p2) 
 

_PROTOTYPE char *  getline,
(FILE *fp, char *b
 

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

void fatal char *  s,
char *  a
 

Definition at line 171 of file fix.c.

References exit(), fprintf(), processing, prog, and stderr.

int getcommand FILE fp,
int *  o1,
int *  o2,
char *  pcmd,
int *  n1,
int *  n2
 

Definition at line 137 of file fix.c.

References fatal(), fgets(), LINELEN, NULL, range(), and s.

Referenced by main().

char* getline FILE fp,
char *  b
 

Definition at line 50 of file fix.c.

References fatal(), fgets(), LINELEN, and NULL.

int main int  argc,
char **  argv
 

Definition at line 61 of file fix.c.

References copy, fatal(), fgets(), fopen(), getcommand(), getline(), LINELEN, nbuf, NULL, obuf, processing, prog, strcmp, and strncmp().

char* range char *  s,
int *  p1,
int *  p2
 

Definition at line 118 of file fix.c.

References fatal(), and isdigit.

int strwcmp char *  s1,
char *  s2
 

Definition at line 188 of file fix.c.

References fprintf(), stderr, and whitespace().

int whitespace char  ch  ) 
 

Definition at line 211 of file fix.c.

Referenced by strwcmp().


Variable Documentation

char * processing = 0
 

Definition at line 39 of file fix.c.

Referenced by fatal(), and main().

char* prog = 0
 

Definition at line 39 of file fix.c.


Generated on Fri Apr 14 23:06:34 2006 for minix by  doxygen 1.4.6