commit bash-20110916 snapshot

This commit is contained in:
Chet Ramey
2012-01-09 08:28:12 -05:00
parent ddef12ffe1
commit b13b8a87dd
6 changed files with 26 additions and 10 deletions
+3 -2
View File
@@ -3970,8 +3970,9 @@ the decimal point.
This option is only effective if @code{read} is reading input from a
terminal, pipe, or other special file; it has no effect when reading
from regular files.
If @var{timeout} is 0, @code{read} returns success if input is available on
the specified file descriptor, failure otherwise.
If @var{timeout} is 0, @code{read} returns immediately, without trying to
read and data. The exit status is 0 if input is available on
the specified file descriptor, non-zero otherwise.
The exit status is greater than 128 if the timeout is exceeded.
@item -u @var{fd}