summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>1999-07-05 13:09:39 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>1999-07-05 13:09:39 +0000
commit6dcc3eadc873c2a79627c0dc6d478dd4454fd7e9 (patch)
tree3bdbc79a9b0f9658cf3f4dd2cea355697c73ba3c /lib/libc
parent9ef26615080e9ed60acd8e946ce90be2831dc528 (diff)
whoops, forgot this one
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/termios/tcgetpgrp.312
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/libc/termios/tcgetpgrp.3 b/lib/libc/termios/tcgetpgrp.3
index 3200a5fc358..45f4c043bcc 100644
--- a/lib/libc/termios/tcgetpgrp.3
+++ b/lib/libc/termios/tcgetpgrp.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: tcgetpgrp.3,v 1.5 1999/07/02 16:57:49 aaron Exp $
+.\" $OpenBSD: tcgetpgrp.3,v 1.6 1999/07/05 13:09:38 aaron Exp $
.\"
.\" Copyright (c) 1991 The Regents of the University of California.
.\" All rights reserved.
@@ -44,16 +44,16 @@
.Fn tcgetpgrp "int fd"
.Sh DESCRIPTION
The
-.Nm tcgetpgrp
+.Fn tcgetpgrp
function returns the value of the process group ID of the foreground
process group associated with the terminal device.
If there is no foreground process group,
-.Nm tcgetpgrp
+.Fn tcgetpgrp
returns an invalid process ID.
.Sh ERRORS
If an error occurs,
-.Nm tcgetpgrp
-returns -1 and the global variable
+.Fn tcgetpgrp
+returns \-1 and the global variable
.Va errno
is set to indicate the error, as follows:
.Bl -tag -width Er
@@ -73,7 +73,7 @@ is not the controlling terminal.
.Xr tcsetpgrp 3
.Sh STANDARDS
The
-.Nm tcgetpgrp
+.Fn tcgetpgrp
function is expected to be compliant with the
.St -p1003.1-88
specification.