summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/syscall.2
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2013-07-17 05:42:10 +0000
committerschwarze <schwarze@openbsd.org>2013-07-17 05:42:10 +0000
commit23fbb714ee0d9e87b8c1fa165af1f555294785eb (patch)
tree248b04849e966acb09eff7ac5b30e5ad56bcc86c /lib/libc/sys/syscall.2
parentEnable jfb-style acceleration on XVR-600. (diff)
downloadwireguard-openbsd-23fbb714ee0d9e87b8c1fa165af1f555294785eb.tar.xz
wireguard-openbsd-23fbb714ee0d9e87b8c1fa165af1f555294785eb.zip
more library history
facts checked by sobrado@ style tweaks and ok jmc@
Diffstat (limited to 'lib/libc/sys/syscall.2')
-rw-r--r--lib/libc/sys/syscall.212
1 files changed, 8 insertions, 4 deletions
diff --git a/lib/libc/sys/syscall.2 b/lib/libc/sys/syscall.2
index 0d55b2257d5..0b0f56325da 100644
--- a/lib/libc/sys/syscall.2
+++ b/lib/libc/sys/syscall.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: syscall.2,v 1.9 2007/05/31 19:19:34 jmc Exp $
+.\" $OpenBSD: syscall.2,v 1.10 2013/07/17 05:42:11 schwarze Exp $
.\" $NetBSD: syscall.2,v 1.4 1995/02/27 12:38:53 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)syscall.2 8.1 (Berkeley) 6/16/93
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: July 17 2013 $
.Dt SYSCALL 2
.Os
.Sh NAME
@@ -74,10 +74,14 @@ A \-1 return value indicates an error,
and an error code is stored in
.Va errno .
.Sh HISTORY
+The predecessor of these functions, the former
+.Fn indir
+system call, first appeared in
+.At v4 .
The
.Fn syscall
-function call appeared in
-.Bx 4.0 .
+function first appeared in
+.Bx 3 .
.Sh BUGS
There is no way to simulate system calls that have multiple return values
such as