1/*
2 * Copyright 2007 Haiku Inc. All rights reserved.
3 * Distributed under the terms of the MIT License.
4 */
5#ifndef _FBSD_COMPAT_SYS_ERRNO_H_
6#define _FBSD_COMPAT_SYS_ERRNO_H_
7
8
9#include <posix/errno.h>
10
11
12#define EDOOFUS 		EINVAL
13
14/* pseudo-errors returned inside freebsd compat layer to modify return to process */
15#define	ERESTART		(B_ERRORS_END + 1)		/* restart syscall */
16#define EJUSTRETURN		(B_ERRORS_END + 2)		/* don't modify regs, just return */
17
18#endif
19