#include <sys/types.h>#include <stdio.h>#include <ctype.h>#include <stdlib.h>#include <string.h>Include dependency graph for look.c:

Go to the source code of this file.
Defines | |
| #define | nil 0 |
| #define | MAXLEN 1024 |
Functions | |
| void | nonascii (char *what) |
| int | compare (char *prefix, char *word) |
| char * | readword (FILE *f) |
| void | look (void) |
| int | main (int argc, char **argv) |
Variables | |
| char | DEFAULT [] = "/usr/lib/dict/words" |
| char * | string |
| char * | wordlist = DEFAULT |
| int | dflg = 0 |
| int | fflg = 0 |
|
|
Definition at line 14 of file look.c. Referenced by readword(). |
|
|
|
|
||||||||||||
|
Definition at line 24 of file look.c. References cp, dflg, fflg, isalnum, isascii, isspace, isupper, nonascii, p, tolower, and wordlist. |
|
|
Definition at line 85 of file look.c. References c, compare, exit(), f, fopen(), fprintf(), fseek(), ftell(), high, nil, puts(), readword(), stderr, string, and wordlist. |
|
||||||||||||
|
Definition at line 128 of file look.c. References dflg, exit(), fflg, fprintf(), look(), p, stderr, string, and wordlist. |
|
|
|
|
|
Definition at line 60 of file look.c. References exit(), f, ferror, fgets(), fprintf(), MAXLEN, n, nil, stderr, strlen(), and wordlist. Referenced by look(). |
|
|
|
|
|
|
|
|
|
|
|
Definition at line 12 of file look.c. Referenced by advance(), do_link(), do_mkdir(), do_slink(), do_unlink(), get_name(), last_dir(), look(), main(), new_node(), parse_path(), and search_dir(). |
|
|
Definition at line 12 of file look.c. Referenced by command(), compare(), compile(), exec_one(), look(), main(), readword(), and transform(). |
1.4.6