|
Basic Solution File System - BSFS
|
Implements the cat command for the BSFS filesystem. More...
Functions | |
| int | cat (FILE *disk, superblock_t *sb, char **args) |
| Display file contents. | |
Implements the cat command for the BSFS filesystem.
Displays the contents of files.
| int cat | ( | FILE * | disk, |
| superblock_t * | sb, | ||
| char ** | args ) |
Display file contents.
Usage: cat <path>
| disk | Open filesystem image. |
| sb | Loaded superblock. |
| args | File path in args[1]. |