[comp.sys.atari.st] returned error codes in beckenmeyer c shell

Peck@RADC-MULTICS.ARPA (Rodney) (05/18/87)

  I bought the micro c shell recently, and its beutiful except for the
fact that I can't get any status codes from programs except -1 and 0.
  The program Citadel (a public domain BBS for the ST and other systems)
returns different error codes depending on the action it wants performed
when it exits.  For example's sake, assume the following:  
   It returns    when it wants..
         0         to backup and shutdown to the cli.
         1         to perform the periodic maintence and restart.
         2         to signal that a remote sysop has shut down the board.
         3         to signal an error.
 
  By looking at status, I only get 0 and -1 back.  I'd like to be able
to tell if the system wants to do periodic routines or wants to be
shutdown.
  Help!
 
  Rodney Peck (Peck @ radc-multics.arpa)