


      AAAAbbbboooorrrrttttCCCCoooommmmmmmmaaaannnndddd((((3333BBBB))))             ((((RRRRiiiiddddggggeeee))))             AAAAbbbboooorrrrttttCCCCoooommmmmmmmaaaannnndddd((((3333BBBB))))



      NNNNAAAAMMMMEEEE
           AbortCommand - abort a command process

      SSSSYYYYNNNNTTTTAAAAXXXX
           FUNCTION AbortCommand (pID : ProcessID) : Error;

      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
           _A_b_o_r_t_C_o_m_m_a_n_d is used to kill a command process. Any files
           left open by the command process will be closed, and other
           system resources will be freed.

           The command process ppppIIIIDDDD must have been created by the
           LoadCommand routine, and can be either active or suspended.
           A user process that calls AbortCommand must be managed by
           the same User Monitor that manages the process ppppIIIIDDDD; in other
           words, it is not possible with AbortCommand to kill
           processes that belong to another user.

           An exit code is returned to the invoking process that
           started the command process via the StartCommand routine.
           The exit code value is currently undefined when a process is
           killed by AbortCommand.

      SSSSEEEEEEEE AAAALLLLSSSSOOOO
           LoadCommand (3B), StartCommand (3B)

      NNNNOOOOTTTTEEEESSSS
           ErBadPID is returned if ppppIIIIDDDD is not a valid command process
           ID.


























      Page 1                                                   (9010-E)



