aboutsummaryrefslogtreecommitdiffstats
path: root/man3/getpt.3
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2005-10-19 07:07:02 +0000
committerMichael Kerrisk <mtk.manpages@gmail.com>2005-10-19 07:07:02 +0000
commit63aa9df02fee88a559822c460ab5a30f1d8414ee (patch)
treefedc607745a57e06a1a541feca62e18d51523ddb /man3/getpt.3
parente511ffb6bcaa9a584412a95e602435827e302033 (diff)
downloadman-pages-63aa9df02fee88a559822c460ab5a30f1d8414ee.tar.gz
Automated unformatting of parentheses using unformat_parens.sh
Diffstat (limited to 'man3/getpt.3')
-rw-r--r--man3/getpt.36
1 files changed, 3 insertions, 3 deletions
diff --git a/man3/getpt.3 b/man3/getpt.3
index 8f95300c13..ac89c2111b 100644
--- a/man3/getpt.3
+++ b/man3/getpt.3
@@ -12,7 +12,7 @@ getpt \- open the pseudo-terminal master (PTM)
.B "int getpt(void)"
.fi
.SH DESCRIPTION
-.B getpt()
+.BR getpt ()
opens a pseudo-terminal master and returns its file descriptor.
It is equivalent to
.BI "open(" \fI"/dev/ptmx" , O_RDWR|O_NOCTTY )
@@ -20,13 +20,13 @@ on Linux systems, though the pseudo-terminal master is located
elsewhere on some systems that use GNU Libc.
.SH "RETURN VALUE"
-.B getpt()
+.BR getpt ()
returns an open file descriptor upon successful completion. Otherwise, it
returns \-1 and sets
.I errno
to indicate the error.
.SH CONFORMING TO
-.B getpt()
+.BR getpt ()
is specific to GNU Libc.
.SH "SEE ALSO"
.BR grantpt (3),