Back to index

glibc  2.9
Defines | Functions | Variables
signal.h File Reference
#include <features.h>
#include <bits/sigset.h>
#include <bits/types.h>
#include <bits/signum.h>

Go to the source code of this file.

Defines

#define _SIGNAL_H
#define __sig_atomic_t_defined
#define signal   __sysv_signal

Functions

__sighandler_t __sysv_signal (int __sig, __sighandler_t __handler) __THROW
__END_NAMESPACE_STD
__BEGIN_NAMESPACE_STD int 
raise (int __sig) __THROW
__END_NAMESPACE_STD int __sigpause (int __sig_or_mask, int __is_sig)
int __libc_current_sigrtmin (void) __THROW
int __libc_current_sigrtmax (void) __THROW

Variables

__BEGIN_NAMESPACE_STD typedef
__sig_atomic_t 
sig_atomic_t
__END_NAMESPACE_STD typedef void(* __sighandler_t )(int)

Define Documentation

Definition at line 39 of file signal.h.

#define _SIGNAL_H

Definition at line 26 of file signal.h.

#define signal   __sysv_signal

Definition at line 101 of file signal.h.


Function Documentation

Definition at line 40 of file pt-allocrtsig.c.

Here is the call graph for this function:

Definition at line 33 of file pt-allocrtsig.c.

Here is the call graph for this function:

__END_NAMESPACE_STD int __sigpause ( int  __sig_or_mask,
int  __is_sig 
)

Definition at line 25 of file sigpause.c.

{
  __set_errno (ENOSYS);
  return -1;
}

Here is the call graph for this function:

Here is the caller graph for this function:

__sighandler_t __sysv_signal ( int  __sig,
__sighandler_t  __handler 
)

Definition at line 25 of file sysv_signal.c.

{
  /* Check signal extents to protect __sigismember.  */
  if (handler == SIG_ERR || sig < 1 || sig >= NSIG)
    {
      __set_errno (EINVAL);
      return SIG_ERR;
    }

  __set_errno (ENOSYS);

  return SIG_ERR;
}

Here is the call graph for this function:

Definition at line 26 of file pt-raise.c.

{
  /* This is what POSIX says must happen.  */
  return pthread_kill (pthread_self (), sig);
}

Here is the call graph for this function:


Variable Documentation

Definition at line 75 of file signal.h.

Definition at line 41 of file signal.h.