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