Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/sys Fix synopsis, remove unneeded Pp macro before d...
details: https://anonhg.NetBSD.org/src/rev/0870193c5221
branches: trunk
changeset: 332552:0870193c5221
user: njoly <njoly%NetBSD.org@localhost>
date: Sat Sep 27 12:11:13 2014 +0000
description:
Fix synopsis, remove unneeded Pp macro before display block and add one
before prototype. While here, use "Rv -std" for RETURN VALUES.
diffstat:
lib/libc/sys/sigaltstack.2 | 9 +++------
1 files changed, 3 insertions(+), 6 deletions(-)
diffs (37 lines):
diff -r 434781f35d58 -r 0870193c5221 lib/libc/sys/sigaltstack.2
--- a/lib/libc/sys/sigaltstack.2 Sat Sep 27 12:08:46 2014 +0000
+++ b/lib/libc/sys/sigaltstack.2 Sat Sep 27 12:11:13 2014 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: sigaltstack.2,v 1.23 2012/03/02 18:07:17 joerg Exp $
+.\" $NetBSD: sigaltstack.2,v 1.24 2014/09/27 12:11:13 njoly Exp $
.\"
.\" Copyright (c) 1983, 1991, 1992, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -39,7 +39,6 @@
.Lb libc
.Sh SYNOPSIS
.In signal.h
-.Pp
.Bd -literal
typedef struct sigaltstack {
void *ss_sp;
@@ -47,6 +46,7 @@
int ss_flags;
} stack_t;
.Ed
+.Pp
.Ft int
.Fn sigaltstack "const stack_t * restrict ss" "stack_t * restrict oss"
.Sh DESCRIPTION
@@ -132,10 +132,7 @@
If the stack overflows and this space is not protected
unpredictable results may occur.
.Sh RETURN VALUES
-Upon successful completion, a value of 0 is returned.
-Otherwise, a value of \-1 is returned and
-.Va errno
-is set to indicate the error.
+.Rv -std
.Sh ERRORS
.Fn sigaltstack
will fail and the signal stack context will remain unchanged
Home |
Main Index |
Thread Index |
Old Index