wm: teppich

ref: 10784c7106b0538ad853c421daf33c0d6597ff5d
dir: /include/err.h/

View raw version
#pragma once
enum
{
	OK = 0,

	/* you don't want these mass up with your values */
	/* files */
	PERM_DENIED = -128, 
	NAME_TOO_LONG,
	INVALID_FILENAME,
	NO_SUCH_FILE,
	NO_SUCH_FS,
	FS_NOT_READY,
	DIR_NOT_EMPTY,
	
	NO_MEM,
	
	LL_ERR,
	
	NO_SUCH_CMD,
	
	USAGE,

	/* users */
	NO_SUCH_USER,
	INVALID_USERNAME,
	INCORRECT_PASSWD,
	INVALID_PASSWD,
	AUTH_FAILED,

	OVERFLOW,
}err;