summaryrefslogtreecommitdiff
path: root/lib/libc/sys/getsid.2
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>2000-01-22 12:00:44 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>2000-01-22 12:00:44 +0000
commit0af7dd8231bef67e47c220a7bacf8f1eedabba47 (patch)
treeebee5d9abfa6081337b2c756b2b394aea04b85ae /lib/libc/sys/getsid.2
parent987ea750df0c9c8c98007c079bbbb7a7092e3989 (diff)
Use .Va macro when referring to the global variable errno.
Diffstat (limited to 'lib/libc/sys/getsid.2')
-rw-r--r--lib/libc/sys/getsid.28
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/libc/sys/getsid.2 b/lib/libc/sys/getsid.2
index 2986bc62904..661e9c30eaa 100644
--- a/lib/libc/sys/getsid.2
+++ b/lib/libc/sys/getsid.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getsid.2,v 1.5 1999/06/29 14:10:01 aaron Exp $
+.\" $OpenBSD: getsid.2,v 1.6 2000/01/22 12:00:42 aaron Exp $
.\"
.\" Copyright (c) 1997 Peter Wemm <peter@freebsd.org>
.\"
@@ -23,7 +23,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $Id: getsid.2,v 1.5 1999/06/29 14:10:01 aaron Exp $
+.\" $Id: getsid.2,v 1.6 2000/01/22 12:00:42 aaron Exp $
.\"
.Dd August 19, 1997
.Dt GETSID 2
@@ -50,7 +50,9 @@ Upon successful completion, the function
.Fn getsid
returns the session ID of
the specified process; otherwise, it returns a value of \-1 and
-sets errno to indicate an error.
+sets
+.Va errno
+to indicate an error.
.Sh ERRORS
.Fn getsid
will succeed unless: