diff options
author | 2014-12-10 19:30:22 +0000 | |
---|---|---|
committer | 2014-12-10 19:30:22 +0000 | |
commit | 6c5d11a27d28d437bfe5627d16bcc8863725bbe1 (patch) | |
tree | 6449ec54e624dec744a0b0160e0aba6ac99a6261 /lib/libc/sys | |
parent | use .Rv; no change of meaning; from Kaspars at Bankovskis dot net (diff) | |
download | wireguard-openbsd-6c5d11a27d28d437bfe5627d16bcc8863725bbe1.tar.xz wireguard-openbsd-6c5d11a27d28d437bfe5627d16bcc8863725bbe1.zip |
use .Rv and simplify wording; from Kaspars at Bankovskis dot net
Diffstat (limited to 'lib/libc/sys')
-rw-r--r-- | lib/libc/sys/getrlimit.2 | 10 | ||||
-rw-r--r-- | lib/libc/sys/pipe.2 | 9 |
2 files changed, 6 insertions, 13 deletions
diff --git a/lib/libc/sys/getrlimit.2 b/lib/libc/sys/getrlimit.2 index 19b76acc5f4..4f8060b3af0 100644 --- a/lib/libc/sys/getrlimit.2 +++ b/lib/libc/sys/getrlimit.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getrlimit.2,v 1.24 2014/11/20 03:19:23 tedu Exp $ +.\" $OpenBSD: getrlimit.2,v 1.25 2014/12/10 19:30:22 schwarze Exp $ .\" $NetBSD: getrlimit.2,v 1.8 1995/10/12 15:40:58 jtc Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)getrlimit.2 8.1 (Berkeley) 6/4/93 .\" -.Dd $Mdocdate: November 20 2014 $ +.Dd $Mdocdate: December 10 2014 $ .Dt GETRLIMIT 2 .Os .Sh NAME @@ -174,11 +174,7 @@ When the soft CPU time limit is exceeded, a signal is sent to the offending process. .Sh RETURN VALUES -A 0 return value indicates that the call succeeded, changing -or returning the resource limit. -A return value of \-1 indicates that an error occurred, and an error code -is stored in the global variable -.Va errno . +.Rv -std .Sh ERRORS .Fn getrlimit and diff --git a/lib/libc/sys/pipe.2 b/lib/libc/sys/pipe.2 index 87608cd05cc..ca7a2d708a5 100644 --- a/lib/libc/sys/pipe.2 +++ b/lib/libc/sys/pipe.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: pipe.2,v 1.17 2014/08/31 01:42:36 guenther Exp $ +.\" $OpenBSD: pipe.2,v 1.18 2014/12/10 19:30:22 schwarze Exp $ .\" $NetBSD: pipe.2,v 1.6 1995/02/27 12:35:27 cgd Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)pipe.2 8.1 (Berkeley) 6/4/93 .\" -.Dd $Mdocdate: August 31 2014 $ +.Dd $Mdocdate: December 10 2014 $ .Dt PIPE 2 .Os .Sh NAME @@ -91,10 +91,7 @@ flag in the .Fa flags argument. .Sh RETURN VALUES -On successful creation of the pipe, zero is returned. -Otherwise, a value of \-1 is returned and the variable -.Va errno -set to indicate the error. +.Rv -std .Sh ERRORS .Fn pipe and |