]> git.proxmox.com Git - mirror_qemu.git/blame - compatfd.h
Make target_sigaltstack_used static
[mirror_qemu.git] / compatfd.h
CommitLineData
bcdf9b4d
AL
1/*
2 * signalfd/eventfd compatibility
3 *
4 * Copyright IBM, Corp. 2008
5 *
6 * Authors:
7 * Anthony Liguori <aliguori@us.ibm.com>
8 *
9 * This work is licensed under the terms of the GNU GPL, version 2. See
10 * the COPYING file in the top-level directory.
11 *
12 */
13
14#ifndef QEMU_COMPATFD_H
15#define QEMU_COMPATFD_H
16
17#include <signal.h>
18
da3d9c5b 19struct qemu_signalfd_siginfo {
bcdf9b4d
AL
20 uint32_t ssi_signo;
21 uint8_t pad[124];
22};
bcdf9b4d
AL
23
24int qemu_signalfd(const sigset_t *mask);
25
26int qemu_eventfd(int *fds);
27
28#endif