Back to index

lightning-sunbird  0.9+nobinonly
Defines | Functions | Variables
signal.h File Reference
#include <sys/types.h>
#include <sys/cdefs.h>
#include <sys/signal.h>
#include <pthread.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define sigaddset(set, signo)   (*(set) |= 1 << ((signo) - 1), 0)
#define sigdelset(set, signo)   (*(set) &= ~(1 << ((signo) - 1)), 0)
#define sigemptyset(set)   (*(set) = 0, 0)
#define sigfillset(set)   (*(set) = ~(sigset_t)0, 0)
#define sigismember(set, signo)   ((*(set) & (1 << ((signo) - 1))) != 0)

Functions

__BEGIN_DECLS int raise __P ((int))
int kill __P ((pid_t, int))
int sigaction __P ((int, const struct sigaction *, struct sigaction *))
int sigaddset __P ((sigset_t *, int))
int sigemptyset __P ((sigset_t *))
int sigismember __P ((const sigset_t *, int))
int sigprocmask __P ((int, const sigset_t *, sigset_t *))
int sigsuspend __P ((const sigset_t *))
int pthread_kill __P ((pthread_t, int))
int sigwait __P ((const sigset_t *, int *))

Variables

const char *const sys_signame [NSIG]

Define Documentation

#define sigaddset (   set,
  signo 
)    (*(set) |= 1 << ((signo) - 1), 0)

Definition at line 69 of file signal.h.

#define sigdelset (   set,
  signo 
)    (*(set) &= ~(1 << ((signo) - 1)), 0)

Definition at line 70 of file signal.h.

#define sigemptyset (   set)    (*(set) = 0, 0)

Definition at line 71 of file signal.h.

#define sigfillset (   set)    (*(set) = ~(sigset_t)0, 0)

Definition at line 72 of file signal.h.

#define sigismember (   set,
  signo 
)    ((*(set) & (1 << ((signo) - 1))) != 0)

Definition at line 73 of file signal.h.


Function Documentation

int sigaction __P ( (int, const struct sigaction *, struct sigaction *)  )
int sigpending __P ( (sigset_t *)  )
int pthread_sigmask __P ( (int, const sigset_t *, sigset_t *)  )
int sigsuspend __P ( (const sigset_t *)  )
int pthread_kill __P ( (pthread_t, int )
int sigwait __P ( (const sigset_t *, int *)  )

Variable Documentation