@@ -6,16 +6,10 @@ FUNCTION
INDEX
psignal
-ANSI_SYNOPSIS
+SYNOPSIS
#include <stdio.h>
void psignal(int <[signal]>, const char *<[prefix]>);
-TRAD_SYNOPSIS
- #include <stdio.h>
- void psignal(<[signal]>, <[prefix]>)
- int <[signal]>;
- const char *<[prefix]>;
-
DESCRIPTION
Use <<psignal>> to print (on standard error) a signal message
corresponding to the value of the signal number <[signal]>.
@@ -12,21 +12,12 @@ INDEX
INDEX
_raise_r
-ANSI_SYNOPSIS
+SYNOPSIS
#include <signal.h>
int raise(int <[sig]>);
int _raise_r(void *<[reent]>, int <[sig]>);
-TRAD_SYNOPSIS
- #include <signal.h>
- int raise(<[sig]>)
- int <[sig]>;
-
- int _raise_r(<[reent]>, <[sig]>)
- char *<[reent]>;
- int <[sig]>;
-
DESCRIPTION
Send the signal <[sig]> (one of the macros from `<<sys/signal.h>>').
This interrupts your program's normal flow of execution, and allows a signal
@@ -7,23 +7,12 @@ INDEX
INDEX
_signal_r
-ANSI_SYNOPSIS
+SYNOPSIS
#include <signal.h>
void (*signal(int <[sig]>, void(*<[func]>)(int))) (int);
void (*_signal_r(void *<[reent]>, int <[sig]>, void(*<[func]>)(int))) (int);
-TRAD_SYNOPSIS
- #include <signal.h>
- char ( * signal(<[sig]>, <[func]>) )()
- int <[sig]>;
- char ( * <[func]> )();
-
- char ( * _signal_r(<[reent]>, <[sig]>, <[func]>) )()
- char *<[reent]>;
- int <[sig]>;
- char ( * <[func]> )();
-
DESCRIPTION
<<signal>> provides a simple signal-handling implementation for embedded
targets.
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com> --- newlib/libc/signal/psignal.c | 8 +------- newlib/libc/signal/raise.c | 11 +---------- newlib/libc/signal/signal.c | 13 +------------ 3 files changed, 3 insertions(+), 29 deletions(-) -- 2.15.0