Using Queues

Queues are useful for a process to manage input from other processes. The examples in the following sections show how to create and use queues.

Note: In the example code fragments that follow, error checking was left out to conserve space. Applications should always check the return code that the functions return. Control Program functions return an APIRET value. A return code of 0 indicates success. If a non-zero value is returned, an error occurred.