diff options
| author | Peter Stephenson <pws@users.sourceforge.net> | 2005-04-01 12:03:53 +0000 |
|---|---|---|
| committer | Peter Stephenson <pws@users.sourceforge.net> | 2005-04-01 12:03:53 +0000 |
| commit | db44e186c9ae646c03bb2ca1c3399610840d8f52 (patch) | |
| tree | 6d92d11a09a0bab7d44dd50581905c5d1f920ec1 /Doc/Zsh/mod_system.yo | |
| parent | 21078: parse errors didn't cause non-zero exit status (diff) | |
| download | zsh-db44e186c9ae646c03bb2ca1c3399610840d8f52.tar zsh-db44e186c9ae646c03bb2ca1c3399610840d8f52.tar.gz zsh-db44e186c9ae646c03bb2ca1c3399610840d8f52.tar.bz2 zsh-db44e186c9ae646c03bb2ca1c3399610840d8f52.tar.lz zsh-db44e186c9ae646c03bb2ca1c3399610840d8f52.tar.xz zsh-db44e186c9ae646c03bb2ca1c3399610840d8f52.tar.zst zsh-db44e186c9ae646c03bb2ca1c3399610840d8f52.zip | |
c.f. 21071: always use "status" in return and exit status docs
Diffstat (limited to 'Doc/Zsh/mod_system.yo')
| -rw-r--r-- | Doc/Zsh/mod_system.yo | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/Zsh/mod_system.yo b/Doc/Zsh/mod_system.yo index fa097eb82..ca15fb5ec 100644 --- a/Doc/Zsh/mod_system.yo +++ b/Doc/Zsh/mod_system.yo @@ -22,10 +22,10 @@ message, with no intervening space. If var(errvar) is supplied, the entire message, without a newline, is assigned to the parameter names var(errvar) and nothing is output. -A return value of 0 indicates the message was successfully printed +A return status of 0 indicates the message was successfully printed (although it may not be useful if the error number was out of the -system's range), a return value of 1 indicates an error in the -parameters, and a return value of 2 indicates the error name was +system's range), a return status of 1 indicates an error in the +parameters, and a return status of 2 indicates the error name was not recognised (no message is printed for this). ) findex(sysread) @@ -59,7 +59,7 @@ The error tt(EINTR) (interrupted system call) is handled internally so that shell interrupts are transparent to the caller. Any other error causes a return. -The possible return values are +The possible return statuses are startitem() item(0)( At least one byte of data was successfully read and, if appropriate, |
