wm: teppich

ref: f34b2877d85d37c328948262255c96bfe69cba10
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;