1
0
Fork 0
qemu/include/user/signal.h
Daniel Baumann ea34ddeea6
Adding upstream version 1:10.0.2+ds.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-22 14:27:05 +02:00

25 lines
524 B
C

/*
* Signal-related declarations.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef USER_SIGNAL_H
#define USER_SIGNAL_H
#ifndef CONFIG_USER_ONLY
#error Cannot include this header from system emulation
#endif
/**
* target_to_host_signal:
* @sig: target signal.
*
* On success, return the host signal between 0 (inclusive) and NSIG
* (exclusive) corresponding to the target signal @sig. Return any other value
* on failure.
*/
int target_to_host_signal(int sig);
extern int host_interrupt_signal;
#endif