|
Basic Solution File System - BSFS
|
Implements the echo command for the BSFS filesystem. More...
Functions | |
| int | echo (FILE *disk, superblock_t *sb, char **args) |
| Write text or append text to a file, or echo to screen. | |
Implements the echo command for the BSFS filesystem.
Writes text to files or displays text on screen.
| int echo | ( | FILE * | disk, |
| superblock_t * | sb, | ||
| char ** | args ) |
Write text or append text to a file, or echo to screen.
Usage: echo "text" [> file | >> file]
| disk | Open filesystem image. |
| sb | Loaded superblock. |
| args | Text tokens and optional redirection operator + filename. |