#include "types.h"#include "stat.h"#include "user.h"Go to the source code of this file.
Functions | |
| int | match (char *, char *) |
| void | grep (char *pattern, int fd) |
| int | main (int argc, char *argv[]) |
| int | matchhere (char *, char *) |
| int | matchstar (int, char *, char *) |
Variables | |
| char | buf [1024] |
| void grep | ( | char * | pattern, | |
| int | fd | |||
| ) |
| int main | ( | int | argc, | |
| char * | argv[] | |||
| ) |
| int match | ( | char * | re, | |
| char * | text | |||
| ) |
| int matchhere | ( | char * | re, | |
| char * | text | |||
| ) |
Definition at line 84 of file grep.c.
References matchstar().
Referenced by match(), and matchstar().
| int matchstar | ( | int | c, | |
| char * | re, | |||
| char * | text | |||
| ) |
1.5.6