spelling correction
[unix-history] / usr / src / lib / libc / gen / signal.3
index 8cc8a90..fab5a00 100644 (file)
@@ -2,9 +2,9 @@
 .\" All rights reserved.  The Berkeley software License Agreement
 .\" specifies the terms and conditions for redistribution.
 .\"
 .\" All rights reserved.  The Berkeley software License Agreement
 .\" specifies the terms and conditions for redistribution.
 .\"
-.\"    @(#)signal.3    5.1 (Berkeley) %G%
+.\"    @(#)signal.3    6.4 (Berkeley) %G%
 .\"
 .\"
-.TH SIGNAL 3C "15 June 1983"
+.TH SIGNAL 3C ""
 .UC 4
 .ie t .ds d \(dg
 .el .ds d \z'|+'
 .UC 4
 .ie t .ds d \(dg
 .el .ds d \z'|+'
@@ -17,7 +17,7 @@ signal \- simplified software signal facilities
 .B #include <signal.h>
 .PP
 .B (*signal(sig, func))()
 .B #include <signal.h>
 .PP
 .B (*signal(sig, func))()
-.B void (*func)();
+.B int (*func)();
 .fi
 .SH DESCRIPTION
 .I Signal
 .fi
 .SH DESCRIPTION
 .I Signal
@@ -79,6 +79,9 @@ SIGXCPU       24      cpu time limit exceeded (see \fIsetrlimit\fP(2))
 SIGXFSZ        25      file size limit exceeded (see \fIsetrlimit\fP(2))
 SIGVTALRM      26      virtual time alarm (see \fIsetitimer\fP(2))
 SIGPROF        27      profiling timer alarm (see \fIsetitimer\fP(2))
 SIGXFSZ        25      file size limit exceeded (see \fIsetrlimit\fP(2))
 SIGVTALRM      26      virtual time alarm (see \fIsetitimer\fP(2))
 SIGPROF        27      profiling timer alarm (see \fIsetitimer\fP(2))
+SIGWINCH       28\*b   Window size change
+SIGUSR1        30      User defined signal 1
+SIGUSR2        31      User defined signal 2
 .fi
 .PP
 The starred signals in the list above cause a core image
 .fi
 .PP
 The starred signals in the list above cause a core image
@@ -100,7 +103,7 @@ If
 is SIG_IGN the signal is subsequently ignored
 and pending instances of the signal are discarded.
 Otherwise, when the signal occurs
 is SIG_IGN the signal is subsequently ignored
 and pending instances of the signal are discarded.
 Otherwise, when the signal occurs
-further occurences of the signal are
+further occurrences of the signal are
 automatically blocked and
 .I func
 is called.
 automatically blocked and
 .I func
 is called.