]>
git.proxmox.com Git - qemu.git/blob - compatfd.h
2 * signalfd/eventfd compatibility
4 * Copyright IBM, Corp. 2008
7 * Anthony Liguori <aliguori@us.ibm.com>
9 * This work is licensed under the terms of the GNU GPL, version 2. See
10 * the COPYING file in the top-level directory.
14 #ifndef QEMU_COMPATFD_H
15 #define QEMU_COMPATFD_H
19 #if defined(__linux__) && !defined(SYS_signalfd)
20 struct signalfd_siginfo
{
25 #include <linux/signalfd.h>
28 int qemu_signalfd(const sigset_t
*mask
);
30 int qemu_eventfd(int *fds
);