Files
haiku-beta6/headers/private/kernel/ksignal.h
T

23 lines
705 B
C
Raw Normal View History

2003-01-27 02:54:21 +00:00
/*
** Copyright 2003-2004, Axel Dörfler, [email protected]. All rights reserved.
** Distributed under the terms of the Haiku License.
2003-01-27 02:54:21 +00:00
*/
#ifndef _KERNEL_SIGNAL_H
#define _KERNEL_SIGNAL_H
#include <KernelExport.h>
2003-01-27 02:54:21 +00:00
#include <signal.h>
#define BLOCKABLE_SIGS (~((1L << (SIGKILL - 1)) | (1L << (SIGSTOP - 1))))
extern int handle_signals(struct thread *t, cpu_status *state);
2003-01-27 02:54:21 +00:00
extern int _user_send_signal(pid_t tid, uint sig);
extern int _user_sigprocmask(int how, const sigset_t *set, sigset_t *oldSet);
extern int _user_sigaction(int sig, const struct sigaction *action, struct sigaction *oldAction);
extern bigtime_t _user_set_alarm(bigtime_t time, uint32 mode);
2003-01-27 02:54:21 +00:00
#endif /* _KERNEL_SIGNAL_H */