error.c 709 B

12345678910111213141516171819202122
  1. #include "stdinc.h"
  2. #include "vac.h"
  3. #include "dat.h"
  4. #include "fns.h"
  5. #include "error.h"
  6. char ENoDir[] = "directory entry is not allocated";
  7. char ENoFile[] = "no such file or directory";
  8. char EBadPath[] = "bad path";
  9. char EBadDir[] = "corrupted directory entry";
  10. char EBadMeta[] = "corrupted meta data";
  11. char ENotDir[] = "not a directory";
  12. char ENotFile[] = "not a file";
  13. char EIO[] = "i/o error";
  14. char EBadOffset[] = "illegal offset";
  15. char ETooBig[] = "file too big";
  16. char EReadOnly[] = "read only";
  17. char ERemoved[] = "file has been removed";
  18. char ENilBlock[] = "illegal block address";
  19. char ENotEmpty[] = "directory not empty";
  20. char EExists[] = "file already exists";
  21. char ERoot[] = "cannot remove root";