#include <sys/types.h>#include <sys/stat.h>#include <fcntl.h>#include <limits.h>#include <stdlib.h>#include <string.h>#include <unistd.h>#include <minix/minlib.h>#include <dirent.h>Include dependency graph for printroot.c:

Go to the source code of this file.
Defines | |
| #define | UNKNOWN_DEV "/dev/unknown" |
| #define | ROOT "/" |
Functions | |
| _PROTOTYPE (int main,(int argc, char **argv)) | |
| _PROTOTYPE (void done,(char *name, int status)) | |
| int | main (int argc, char **argv) |
| void | done (char *name, int status) |
Variables | |
| static char | DEV_PATH [] = "/dev/" |
| static char | MESSAGE [] = " / " |
| int | rflag |
|
|
Definition at line 32 of file printroot.c. Referenced by main(). |
|
|
Definition at line 31 of file printroot.c. Referenced by main(). |
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
Definition at line 63 of file printroot.c. References exit(), fsversion(), MESSAGE, rflag, strlen(), and write. |
|
||||||||||||
|
Definition at line 38 of file printroot.c. References DEV_PATH, done, entry, filestat, NULL, opendir, readdir, rflag, ROOT, S_IFBLK, S_IFMT, stat::st_dev, stat::st_mode, stat::st_rdev, stat, strcat(), strcmp, strcpy(), and UNKNOWN_DEV. |
|
|
Definition at line 29 of file printroot.c. Referenced by main(). |
|
|
Definition at line 30 of file printroot.c. |
|
|
Definition at line 33 of file printroot.c. |
1.4.6