wm: teppich

ref: 683965b944f2e1a922f26c3496e2aae867ca70ec
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;