wm: teppich

ref: 1a9e9aa22d5ea5a83bcdfc43b636c43dfb0c7ee8
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;