Adjust to reflect reality, which is that sigaltstack() takes stack_t *'s.
MFC after: 3 days
This commit is contained in:
parent
af08438611
commit
a9f615db06
@ -43,14 +43,14 @@
|
||||
.Sh SYNOPSIS
|
||||
.In signal.h
|
||||
.Bd -literal
|
||||
struct sigaltstack {
|
||||
char *ss_sp;
|
||||
size_t ss_size;
|
||||
int ss_flags;
|
||||
};
|
||||
typedef struct sigaltstack {
|
||||
char *ss_sp;
|
||||
size_t ss_size;
|
||||
int ss_flags;
|
||||
} stack_t;
|
||||
.Ed
|
||||
.Ft int
|
||||
.Fn sigaltstack "const struct sigaltstack *ss" "struct sigaltstack *oss"
|
||||
.Fn sigaltstack "const stack_t *ss" "stack_t *oss"
|
||||
.Sh DESCRIPTION
|
||||
.Fn Sigaltstack
|
||||
allows users to define an alternate stack on which signals
|
||||
|
Loading…
Reference in New Issue
Block a user