audio/alsaaudio: use g_new0() instead of audio_calloc()
[qemu/ar7.git] / linux-user / include / special-errno.h
blob4120455baaf93fe2d7cc70c9d6fa4d92cbd172c1
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3 * QEMU internal errno values for implementing user-only POSIX.
5 * Copyright (c) 2003 Fabrice Bellard
6 * Copyright (c) 2021 Linaro, Ltd.
7 */
9 #ifndef SPECIAL_ERRNO_H
10 #define SPECIAL_ERRNO_H
13 * All of these are QEMU internal, not visible to the guest.
14 * They should be chosen so as to not overlap with any host
15 * or guest errno.
19 * This is returned when a system call should be restarted, to tell the
20 * main loop that it should wind the guest PC backwards so it will
21 * re-execute the syscall after handling any pending signals.
23 #define QEMU_ERESTARTSYS 512
26 * This is returned after a successful sigreturn syscall, to indicate
27 * that it has correctly set the guest registers and so the main loop
28 * should not touch them.
30 #define QEMU_ESIGRETURN 513
32 #endif /* SPECIAL_ERRNO_H */