#include <stdio.h>#include <ctype.h>#include <sys/types.h>#include <sys/stat.h>#include <fcntl.h>#include "awk.h"#include "regexp.h"Include dependency graph for r.c:

Go to the source code of this file.
Defines | |
| #define | MAXFLD 100 |
| #define | MAXFILE 10 |
Functions | |
| CELL * | getvar () |
| char * | strsave () |
| char ** | strcpy () |
| char *** | getsval () |
| char **** | jStrchr () |
| char ***** | strchr () |
| double | getfval () |
| double | atof () |
| CELL * | mkcell () |
| CELL ** | mktmp () |
| CELL *** | execute () |
| CELL **** | patexec () |
| FILE * | efopen () |
| CELL * | Getline (NODE *p) |
| static | get1rec (char *buf, FILE *fp) |
| Getrec (char *s) | |
| mkfld (char *rec, char *sep, fld) | |
| static | r_mkfld (char *rec, char *sep, fld) |
| mkrec (CELL *u) | |
| CELL * | Field (NODE *p) |
| CELL * | P1stat (NODE *p) |
| CELL * | P2stat (NODE *p) |
| CELL * | Print0 () |
| char * | format (char *t, NODE *p) |
| FILE * | getfp (char *file, type) |
| closeall () | |
| CELL * | Close (char *s) |
| static | close1 (i) |
| FILE * | epopen (char *file, char *mod) |
| static char * | awktmp (i) |
| Index (char *s, char *t) | |
Variables | |
| char ** | FS |
| char ** | RS |
| char ** | OFS |
| char ** | ORS |
| char ** | FILENAME |
| double * | NF |
| double * | NR |
| double * | FNR |
| double * | ARGC |
| SYMBOL * | argtab [] |
| CELL | truecell |
| CELL | falsecell |
| int | pateval |
| int | infileno = 1 |
| FILE * | ifp |
| char | record [BUFSIZ] |
| CELL * | field [MAXFLD] |
| char * | fs_str |
| regexp * | fs_pat |
| struct { | |
| char * f_name | |
| FILE * f_fp | |
| int f_type | |
| char * word | |
| int type | |
| int val | |
| char * name | |
| CMD code | |
| void(* fn )() | |
| ARGT argt | |
| char * name | |
| char * nm | |
| char type | |
| char flags | |
| char * value | |
| const char * name | |
| signed char fat_bits | |
| int tracks | |
| unsigned short heads | |
| unsigned short sectors | |
| device_t * dev | |
| int nr_partitions | |
| int free_regions | |
| int used_regions | |
| int sectors | |
| int nr_regions | |
| int biosdrive | |
| region_t regions [NR_REGIONS] | |
| int this_month | |
| int feb | |
| int sept | |
| int days_in_month | |
| int dow_first | |
| int o_file | |
| int o_field | |
| WINDOW * win | |
| char erase | |
| char kill | |
| char werase | |
| unsigned baudr | |
| int speedcode | |
| u16_t vendor | |
| u16_t device | |
| } | filetab [MAXFILE] |
|
|
Definition at line 448 of file r.c. Referenced by Close(), closeall(), and getfp(). |
|
|
Definition at line 27 of file r.c. Referenced by mkrec(). |
|
|
|
|
|
|
|
|
Definition at line 523 of file r.c. References close1(), f_name, filetab, i, MAXFILE, and strcmp. |
|
|
Definition at line 537 of file r.c. References awktmp(), close, dup, dup2, error, f_fp, f_name, f_type, fclose(), filetab, i, NULL, O_RDONLY, open, pclose(), R_APD, R_IN, R_OUT, R_PIN, R_POUT, result, sfree(), system(), and unlink. Referenced by Close(), and closeall(). |
|
|
Definition at line 514 of file r.c. References close1(), i, and MAXFILE. Referenced by err(), error(), execute(), Jump(), main(), and onint(). |
|
|
|
|
||||||||||||
|
Definition at line 587 of file r.c. References error, fp, NULL, and popen(). Referenced by getfp(). |
|
|
|
|
|
Definition at line 284 of file r.c. References c_free(), execute(), field, FLD, getfval(), i, int(), j, mkcell(), NF, NULL, and STR. |
|
||||||||||||
|
Definition at line 377 of file r.c. References BUFSIZ, execute(), fmt, getsval(), i, isKanji(), p, r, s, and x. |
|
||||||||||||
|
Definition at line 82 of file r.c. References c, EOF, feof, fp, getc, isKanji(), mflg, NULL, record, RS, and s. |
|
||||||||||||
|
Definition at line 456 of file r.c. References awktmp(), close, dup, dup2, efopen(), epopen(), error, f_fp, f_name, filetab, fp, i, MAXFILE, O_CREAT, O_TEXT, O_TRUNC, O_WRONLY, open, R_APD, R_IN, R_OUT, R_PIN, R_POUT, result, S_IREAD, S_IWRITE, strcmp, system(), and type. |
|
|
|
|
|
Definition at line 54 of file r.c. References BUFSIZ, c_free(), execute(), fp, get1rec(), getfp(), Getrec(), getsval(), i, mktmp(), NULL, NUM, s, and setsval(). |
|
|
Definition at line 127 of file r.c. References ARGC, argtab, efopen(), fclose(), FILENAME, FNR, get1rec(), getsval(), getvar(), ifp, infileno, NULL, setvar(), sprintf(), stdin, strchr, and strcmp. Referenced by Getline(). |
|
|
|
|
|
Referenced by Array(), dofor(), dofuncn(), dousrfun(), exec_one(), expr10(), expr4(), Getrec(), and Split(). |
|
||||||||||||
|
Definition at line 606 of file r.c. Referenced by Strfun(). |
|
|
|
|
|
|
|
||||||||||||||||
|
Definition at line 175 of file r.c. References BUFSIZ, fld, i, j, n, NF, NULL, r_mkfld(), s, sfree(), skip, strlen(), and t. Referenced by Subst(). |
|
|
Definition at line 258 of file r.c. |
|
|
|
|
|
Definition at line 302 of file r.c. References c_free(), execute(), getfval(), pateval, truecell, and x. |
|
|
Definition at line 320 of file r.c. References c_free(), execute(), getfval(), pateval, truecell, and x. |
|
|
|
|
|
|
|
||||||||||||||||
|
Definition at line 221 of file r.c. References BUFSIZ, fld, FS, fs_pat, fs_str, i, mkpat(), n, NF, NULL, r_length, r_start, s, sfree(), strcmp, strsave(), and t. Referenced by mkfld(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 451 of file r.c. Referenced by close1(), f_cleanup(), f_do_open(), f_prepare(), f_transfer(), fdc_transfer(), getfp(), read_id(), recalibrate(), seek(), start_motor(), and test_read(). |
|
|
Definition at line 450 of file r.c. Referenced by Close(), close1(), fdc_transfer(), getfp(), hack_file(), and u_r_file(). |
|
|
Definition at line 452 of file r.c. Referenced by close1(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 51 of file r.c. Referenced by r_mkfld(). |
|
|
Definition at line 50 of file r.c. Referenced by r_mkfld(). |
|
|
|
|
|
Definition at line 45 of file r.c. Referenced by Getrec(). |
|
|
|
|
|
Definition at line 45 of file v.c. Referenced by error(), Error(), Expand(), init(), Macro(), and nr_tm(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.6