signal.h File Reference

#include "sys/types.h"

Go to the source code of this file.

Classes

Defines

Typedefs

Functions


Define Documentation

#define SIG_BLOCK   0
 

Definition at line 59 of file signal.h.

Referenced by sys_sigprocmask().

#define SIG_DFL   ((void (*)(int)) 0)
 

Definition at line 53 of file signal.h.

Referenced by exec_sigpending().

#define SIG_ERR   ((void (*)(int)) -1)
 

Definition at line 52 of file signal.h.

Referenced by entrysig(), and ignoresig().

#define SIG_HOLD   ((void (*)(int)) 2)
 

Definition at line 55 of file signal.h.

#define SIG_IGN   ((void (*)(int)) 1)
 

Definition at line 54 of file signal.h.

Referenced by _sys_kill(), and ignoresig().

#define SIG_SETMASK   2
 

Definition at line 61 of file signal.h.

Referenced by handler1(), and sys_sigprocmask().

#define SIG_UNBLOCK   1
 

Definition at line 60 of file signal.h.

Referenced by sys_sigprocmask().

#define SIGABRT   6
 

Definition at line 31 of file signal.h.

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

Definition at line 65 of file signal.h.

Referenced by main().

#define SIGALRM   14
 

Definition at line 40 of file signal.h.

#define SIGBUS   7
 

Definition at line 33 of file signal.h.

#define SIGCHLD   17
 

Definition at line 43 of file signal.h.

Referenced by _sys_kill(), catchear_hijos(), main(), and sys_exit_notify().

#define SIGCONT   18
 

Definition at line 44 of file signal.h.

#define sigdelset set,
signo   )     ( (signo<SIGMAX) ? ( *set&=(~(1<<signo)))&0 : (unsigned long) -1)
 

Definition at line 66 of file signal.h.

Referenced by main().

#define sigemptyset set   )     (*set=0)
 

Definition at line 63 of file signal.h.

Referenced by handler1(), and main().

#define sigfillset set   )     ( (*set=0xffffffff) ? 0 : -1)
 

Definition at line 64 of file signal.h.

Referenced by main().

#define SIGFPE   8
 

Definition at line 34 of file signal.h.

#define SIGHUP   1
 

Definition at line 26 of file signal.h.

Referenced by catchsigs().

#define SIGILL   4
 

Definition at line 29 of file signal.h.

#define SIGINT   2
 

Definition at line 27 of file signal.h.

Referenced by catchsigs(), entrysig(), and ignoresig().

#define SIGIOT   6
 

Definition at line 32 of file signal.h.

#define sigismember set,
signo   )     ( (signo<SIGMAX) ? ((*set>>signo)&1) : -1 )
 

Definition at line 67 of file signal.h.

#define SIGKILL   9
 

Definition at line 35 of file signal.h.

Referenced by check_sigpending().

#define SIGMAX   23
 

Definition at line 49 of file signal.h.

Referenced by check_sigpending(), sys_kill(), and sys_sigaction().

#define SIGPIPE   13
 

Definition at line 39 of file signal.h.

#define SIGQUIT   3
 

Definition at line 28 of file signal.h.

Referenced by catchsigs(), entrysig(), ignoresig(), and main().

#define SIGSEGV   11
 

Definition at line 37 of file signal.h.

#define SIGSTKFLT   16
 

Definition at line 42 of file signal.h.

#define SIGSTOP   19
 

Definition at line 45 of file signal.h.

Referenced by check_sigpending().

#define SIGTERM   15
 

Definition at line 41 of file signal.h.

Referenced by catchsigs().

#define SIGTRAP   5
 

Definition at line 30 of file signal.h.

#define SIGTSTP   20
 

Definition at line 46 of file signal.h.

#define SIGTTIN   21
 

Definition at line 47 of file signal.h.

#define SIGTTOU   22
 

Definition at line 48 of file signal.h.

#define SIGUSR1   10
 

Definition at line 36 of file signal.h.

Referenced by main(), and sig_usr1().

#define SIGUSR2   12
 

Definition at line 38 of file signal.h.


Typedef Documentation

typedef void(* __sighandler_t)(int)
 

Definition at line 12 of file signal.h.

typedef unsigned long sigset_t
 

Definiciones de señales comunes a Kernel y User Mode.

Note:
Primera aproximación a definicions de señales tipo SYS V

Definition at line 11 of file signal.h.

Referenced by handler1(), main(), sigprocmask(), and sys_sigprocmask().


Function Documentation

int sigaction int  signo,
struct sigaction act,
struct sigaction oact
 

Definition at line 202 of file lib/RoutixStd/routix.c.

Referenced by main(), and sys_sigaction().

void* signal int  sig,
void(*  func)()
 

Definition at line 195 of file lib/RoutixStd/routix.c.

Referenced by entrysig(), ignoresig(), and main().

int sigprocmask int  flag,
const sigset_t set,
sigset_t old_set
 

Definition at line 217 of file lib/RoutixStd/routix.c.

Referenced by handler1().


Generated on Sun May 30 18:38:36 2004 for Routix OS by doxygen 1.3.6