long FUNCTION c_qprint(q, print_obj)
long q; void (print_obj)();
The number of the queue to print. This number is returned by c_qcreate().
A function used to print objects in the queue. This function should accept a pointer to an object in the queue as an argument and should generate some output based on that object.
This routine is used to print the contents of a queue. For each object in the queue, the node number is printed followed by the output of the print function print_obj().
c_qprint() returns
0 --> Successful completion. -1 --> Operation failed. No such queue exists.