File:  [Research Unix] / researchv10no / netfs / libnetb / nberrno.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:21:35 2018 UTC (8 years, 1 month ago) by root
Branches: belllabs, MAIN
CVS tags: researchv10, HEAD
researchv10 Norman

/*
 * error numbers understood by netb
 * these should be an explicit part of the protocol,
 * but they aren't;
 * this stuff is specific to rf/libfsb
 *
 * the values intentionally correspond exactly
 * to Unix errno numbers and to fserrno numbers
 */

#define	NBEPERM		1	/* not file owner */
#define	NBENOENT	2	/* no such file or directory */
#define	NBEIO		5	/* general I/O error */
#define	NBENXIO		6	/* no such file address */
#define	NBEACCES	13	/* no permission */
#define	NBEBUSY		16	/* something is in use and can't be used again */
#define	NBEEXIST	17	/* file exists when it shouldn't */
#define	NBEXDEV		18	/* link across devices (or just not allowed) */
#define	NBENOTDIR	20	/* not a directory and should be */
#define	NBEISDIR	21	/* is a directory and shouldn't be */
#define	NBEINVAL	22	/* invalid arg or function; catchall for internal errors */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.