Rocket® Enterprise Developer (formerly a product of Micro Focus or formerly a product of Open Text) documentation, created before Rocket Software acquired certain products from OpenText, may include outdated references to "Micro Focus" or "OpenText", both of which are trademarks of OpenText or its affiliates. Rocket Software is not affiliated with Micro Focus or OpenText and has since rebranded these products as Rocket® products. You may also encounter outdated links in this documentation. If you do, please contact Rocket Support (support@rocketsoftware.com) for assistance.
cobpostsighandler
Adds the specified handler to the list of handlers for the specified signal, at the
specified priority.
Restriction: This function is supported for native COBOL only.
Syntax:
#include "cobsignal.h"
cobsigtype_t cobpostsighandler (int signal, int priority,
PFI_SIG handler);
Parameters:
| signal | Signal number, as defined in the <signal.h> include file. |
| priority | The priority of handler in the range 1 to 254, where 254 is the highest priority. Values 127 and 129 through 139 are reserved for our use. |
| handler | Address of your signal handler. This must be a C function that returns an integer value. |
Equivalent COBOL Syntax:
None.
Comments: