|
Basic Solution File System - BSFS
|
Implements the pwd command for the BSFS filesystem. More...
Macros | |
| #define | PATH_MAX 4096 |
Functions | |
| int | pwd (FILE *disk, superblock_t *sb, char **args) |
| Print the current working directory. | |
Variables | |
| char | current_path [PATH_MAX] |
| Current working directory text (provided by the browser prompt) | |
Implements the pwd command for the BSFS filesystem.
Displays the current working directory.
| #define PATH_MAX 4096 |
Fallback maximum path length.
| int pwd | ( | FILE * | disk, |
| superblock_t * | sb, | ||
| char ** | args ) |
Print the current working directory.
Usage: pwd
| disk | Open filesystem image. |
| sb | Loaded superblock. |
| args | Unused. |
|
extern |
Current working directory text (provided by the browser prompt)
Current browser prompt path (defined in browser_bsfs.c)