summaryrefslogtreecommitdiff
path: root/lib/libc/gen/raise.3
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2015-01-29 01:46:32 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2015-01-29 01:46:32 +0000
commit62d2081c4784d2ba182ed5151850efe88187868b (patch)
treecaed3241c105775f47f689340427a611b365fc7d /lib/libc/gen/raise.3
parentdc0fcb69386fa822e0e935c295c6498bcb087a16 (diff)
Use .Rv where appropriate, and move it to RETURN VALUES;
remove .Tn, and a few minor macro adjustments. Patch from Kaspars at Bankovskis dot net.
Diffstat (limited to 'lib/libc/gen/raise.3')
-rw-r--r--lib/libc/gen/raise.39
1 files changed, 3 insertions, 6 deletions
diff --git a/lib/libc/gen/raise.3 b/lib/libc/gen/raise.3
index f6d3a479160..1aa2c25918d 100644
--- a/lib/libc/gen/raise.3
+++ b/lib/libc/gen/raise.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: raise.3,v 1.10 2013/06/05 03:39:22 tedu Exp $
+.\" $OpenBSD: raise.3,v 1.11 2015/01/29 01:46:30 schwarze Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -31,7 +31,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: June 5 2013 $
+.Dd $Mdocdate: January 29 2015 $
.Dt RAISE 3
.Os
.Sh NAME
@@ -48,10 +48,7 @@ function sends the signal
.Fa sig
to the current thread.
.Sh RETURN VALUES
-Upon successful completion, a value of 0 is returned.
-Otherwise, a value of \-1 is returned and the global variable
-.Va errno
-is set to indicate the error.
+.Rv -std
.Sh ERRORS
.Fn raise
will fail and no signal will be sent if: