File:  [MW Coherent from dump] / coherent / a / usr / man / MULTI / exit
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed May 29 04:56:34 2019 UTC (7 years ago) by root
Branches: MarkWilliams, MAIN
CVS tags: relic, HEAD
coherent



exit                         Command                         exit




Exit from a noninteractive shell

eexxiitt [_s_t_a_t_u_s]

exit terminates a  noninteractive shell sshh If the optional status
is  specified,  the shell  returns  it;  otherwise, the  previous
status is  unchanged.  From an  interactive shell, exit  sets the
status if specified, but does not terminate the shell.  The shell
executes exit directly.

***** See Also *****

commands, sh

***** Notes *****

If a  program leaves  main() by  an error condition,  contents of
register AX becomes  the exit code.  Usually, these register con-
tents are  random.  If you want to test  a program's return code,
you must to exit or return from main().




































COHERENT Lexicon                                           Page 1



unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.