Rev 3358 | Rev 3375 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 3358 | Rev 3364 | ||
|---|---|---|---|
| Line 79... | Line 79... | ||
| 79 | } |
79 | } |
| 80 | 80 | ||
| 81 | return CMD_VOID; |
81 | return CMD_VOID; |
| 82 | } |
82 | } |
| 83 | 83 | ||
| 84 | unsigned int cat_file(const char *fname, size_t blen) |
84 | static unsigned int cat_file(const char *fname, size_t blen) |
| 85 | { |
85 | { |
| 86 | int fd, bytes = 0, count = 0, reads = 0; |
86 | int fd, bytes = 0, count = 0, reads = 0; |
| 87 | off_t total = 0; |
87 | off_t total = 0; |
| 88 | char *buff = NULL; |
88 | char *buff = NULL; |
| 89 | 89 | ||