1 /* SPDX-License-Identifier: BSD-3-Clause */
3 * QEMU internal errno values for implementing user-only POSIX.
5 * Copyright (c) 2021 Linaro, Ltd.
8 #ifndef SPECIAL_ERRNO_H
9 #define SPECIAL_ERRNO_H
12 * All of these are QEMU internal, not visible to the guest.
13 * They should be chosen so as to not overlap with any host
18 * This is returned when a system call should be restarted, to tell the
19 * main loop that it should wind the guest PC backwards so it will
20 * re-execute the syscall after handling any pending signals.
22 #define QEMU_ERESTARTSYS 255
24 #endif /* SPECIAL_ERRNO_H */