summaryrefslogtreecommitdiff
path: root/lib/libc/termios/tcsetpgrp.3
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>1999-07-05 13:09:09 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>1999-07-05 13:09:09 +0000
commit9ef26615080e9ed60acd8e946ce90be2831dc528 (patch)
tree5d770b9088d8dfb1a0b11b405cfe180d5c1e75a3 /lib/libc/termios/tcsetpgrp.3
parent957c3628960aa27c328d996b64cf4cd31d1c5b6a (diff)
repairs
Diffstat (limited to 'lib/libc/termios/tcsetpgrp.3')
-rw-r--r--lib/libc/termios/tcsetpgrp.312
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/libc/termios/tcsetpgrp.3 b/lib/libc/termios/tcsetpgrp.3
index 50c2ef26c39..232b5238f28 100644
--- a/lib/libc/termios/tcsetpgrp.3
+++ b/lib/libc/termios/tcsetpgrp.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: tcsetpgrp.3,v 1.6 1999/07/02 16:57:49 aaron Exp $
+.\" $OpenBSD: tcsetpgrp.3,v 1.7 1999/07/05 13:09:08 aaron Exp $
.\"
.\" Copyright (c) 1991 The Regents of the University of California.
.\" All rights reserved.
@@ -44,7 +44,7 @@
.Fn tcsetpgrp "int fd" "pid_t pgrp_id"
.Sh DESCRIPTION
If the process has a controlling terminal, the
-.Nm tcsetpgrp
+.Fn tcsetpgrp
function sets the foreground process group ID associated with the
terminal device to
.Fa pgrp_id .
@@ -59,12 +59,12 @@ must be the same as the process group ID of a process in the same
session as the calling process.
.Pp
Upon successful completion,
-.Nm tcsetpgrp
+.Fn tcsetpgrp
returns a value of zero.
.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
@@ -94,7 +94,7 @@ session as the calling process.
.Xr tcgetpgrp 3
.Sh STANDARDS
The
-.Nm tcsetpgrp
+.Fn tcsetpgrp
function is expected to be compliant with the
.St -p1003.1-88
specification.