summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/msgctl.2
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2014-12-10 19:19:00 +0000
committerschwarze <schwarze@openbsd.org>2014-12-10 19:19:00 +0000
commit33fc4b466c7166c282a8b38ebd324afe46647519 (patch)
tree7801b2b8d59e8c52912c03b70800c1084466fa93 /lib/libc/sys/msgctl.2
parentssl3_init_finished_mac() calls BIO_new() which can fail since it in turn (diff)
downloadwireguard-openbsd-33fc4b466c7166c282a8b38ebd324afe46647519.tar.xz
wireguard-openbsd-33fc4b466c7166c282a8b38ebd324afe46647519.zip
use .Rv; no change of meaning; from Kaspars at Bankovskis dot net
Diffstat (limited to 'lib/libc/sys/msgctl.2')
-rw-r--r--lib/libc/sys/msgctl.29
1 files changed, 3 insertions, 6 deletions
diff --git a/lib/libc/sys/msgctl.2 b/lib/libc/sys/msgctl.2
index f9c20baf511..ed40da3cde2 100644
--- a/lib/libc/sys/msgctl.2
+++ b/lib/libc/sys/msgctl.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: msgctl.2,v 1.16 2014/11/15 22:19:53 guenther Exp $
+.\" $OpenBSD: msgctl.2,v 1.17 2014/12/10 19:19:00 schwarze Exp $
.\" $NetBSD: msgctl.2,v 1.2 1997/03/27 08:20:35 mikel Exp $
.\"
.\" Copyright (c) 1995 Frank van der Linden
@@ -30,7 +30,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"/
-.Dd $Mdocdate: November 15 2014 $
+.Dd $Mdocdate: December 10 2014 $
.Dt MSGCTL 2
.Os
.Sh NAME
@@ -156,10 +156,7 @@ effective GID can match either
or
.Va msg_perm.gid .
.Sh RETURN VALUES
-Upon successful completion, a value of 0 is returned.
-Otherwise, \-1 is returned and the global variable
-.Va errno
-is set to indicate the error.
+.Rv -std
.Sh ERRORS
.Fn msgctl
will fail if: