QUE_new
Application Program Interface
2-347
C Interface
Syntax
QUE_new(queue);
Parameters
QUE_Handle queue;
/* pointer to queue object */
Return Value
Void
Description
QUE_new adjusts a queue object to make the queue empty. This
operation is not atomic. A typical use of QUE_new is to initialize a queue
object that has been statically declared instead of being created with
QUE_create. Note that if the queue is not empty, the element(s) in the
queue are not freed or otherwise handled, but are simply abandoned.
If you created a queue by declaring a variable of type QUE_Obj, you can
initialize the queue with QUE_new.
See Also
QUE_create
QUE_delete
QUE_empty
QUE_new
Set a queue to be empty