HPlogo MPE/iX Intrinsics Reference Manual > Chapter 8 Command Definitions (HPMERGEEND-LOGSTATUS)

KILL

MPE documents

Complete PDF
Table of Contents
Index

Edition 7 E0701 ♥
Edition 7 E0300
Edition 6 E0195

NM and CM callable.

Deletes a child process of the calling process and all of its descendants. Process handling (PH) capability is required.

Syntax



        I16V
  KILL (pin);

Parameters


pin

16-bit signed integer by value (required)

Passes the process identification number (PIN) of the child process to be deleted.

Operation Notes


All resources held by the deleted processes are released. Any remaining files opened by the deleted processes are closed and assigned the same disposition they had when opened.

Condition Codes


CCE (2)Request granted.
CCG (0)Request granted. The specified process is already being terminated.
CCL (1)Request denied. An illegal PIN was specified.

Related Information


Intrinsics ACTIVATE, CREATE, CREATEPROCESS, GETORIGIN, GETPROCID, SUSPEND
Manuals Process Management Programmer's Guide




JOBINFO


LOADPROC