|
|
1.1 ! root 1: /* ! 2: * error numbers understood by netb ! 3: * these should be an explicit part of the protocol, ! 4: * but they aren't; ! 5: * this stuff is specific to rf/libfsb ! 6: * ! 7: * the values intentionally correspond exactly ! 8: * to Unix errno numbers and to fserrno numbers ! 9: */ ! 10: ! 11: #define NBEPERM 1 /* not file owner */ ! 12: #define NBENOENT 2 /* no such file or directory */ ! 13: #define NBEIO 5 /* general I/O error */ ! 14: #define NBENXIO 6 /* no such file address */ ! 15: #define NBEACCES 13 /* no permission */ ! 16: #define NBEBUSY 16 /* something is in use and can't be used again */ ! 17: #define NBEEXIST 17 /* file exists when it shouldn't */ ! 18: #define NBEXDEV 18 /* link across devices (or just not allowed) */ ! 19: #define NBENOTDIR 20 /* not a directory and should be */ ! 20: #define NBEISDIR 21 /* is a directory and shouldn't be */ ! 21: #define NBEINVAL 22 /* invalid arg or function; catchall for internal errors */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.