error.c 633 B

1234567891011121314151617181920
  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 EBadDir[] = "corrupted directory entry";
  8. char EBadMeta[] = "corrupted meta data";
  9. char ENotDir[] = "not a directory";
  10. char ENotFile[] = "not a file";
  11. char EIO[] = "i/o error";
  12. char EBadOffset[] = "illegal offset";
  13. char ETooBig[] = "file too big";
  14. char EReadOnly[] = "read only";
  15. char ERemoved[] = "file has been removed";
  16. char ENilBlock[] = "illegal block address";
  17. char ENotEmpty[] = "directory not empty";
  18. char EExists[] = "file already exists";
  19. char ERoot[] = "cannot remove root";