summary refs log tree commit diff
path: root/manual
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-03-15 13:40:08 +0000
committerUlrich Drepper <drepper@redhat.com>1999-03-15 13:40:08 +0000
commit5632741ec7b280e194dc4782be4d16fa08e94379 (patch)
tree9fc10333b3f1eb30d598bf11277e0c64d6d7d26d /manual
parent983b29ede844ad5c26eb9825817eb8c123c5075a (diff)
downloadglibc-5632741ec7b280e194dc4782be4d16fa08e94379.tar.gz
glibc-5632741ec7b280e194dc4782be4d16fa08e94379.tar.xz
glibc-5632741ec7b280e194dc4782be4d16fa08e94379.zip
(Pseudo-Terminal Pairs): Change getpt and openpty documentation after recent change in the code.
Diffstat (limited to 'manual')
-rw-r--r--manual/terminal.texi12
1 files changed, 9 insertions, 3 deletions
diff --git a/manual/terminal.texi b/manual/terminal.texi
index 85600b0190..d43b37f7ed 100644
--- a/manual/terminal.texi
+++ b/manual/terminal.texi
@@ -1873,8 +1873,8 @@ an error, a value of @math{-1} is returned instead.  The following
 @code{errno} conditions are defined for this function:
 
 @table @code
-@item ENFILE
-There are no master pseudo-terminals available.
+@item ENOENT
+There are no free master pseudo-terminals available.
 @end table
 
 This function is a GNU extension.
@@ -2030,7 +2030,13 @@ the slave is set to the values specified in the structure that
 @var{winp} points to.
 
 The normal return value from @code{openpty} is @math{0}; a value of
-@math{-1} is returned in case of failure.
+@math{-1} is returned in case of failure.  The following @code{errno}
+conditions are defined for this function:
+
+@table @code
+@item ENOENT
+There are no free pseudo-terminal pairs available.
+@end table
 
 @strong{Warning:} Using the @code{openpty} function with @var{name} not
 set to @code{NULL} is @strong{very dangerous} because it provides no