Merge tag 'v9.0.0-rc3'
[qemu/ar7.git] / bsd-user / include / special-errno.h
blob03599d9b5a87f0477e171449e0af0d1c8cf52b5e
1 /* SPDX-License-Identifier: BSD-3-Clause */
2 /*
3 * QEMU internal errno values for implementing user-only POSIX.
5 * Copyright (c) 2021 Linaro, Ltd.
6 */
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
14 * or guest errno.
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 */