IP_QueueClose

IP_QueueClose — closes a queue.

Syntax

#include <cogent.h>

int IP_QueueClose(int qid);

Arguments

qid

A queue ID.

Returns

0 on success, or -1 on failure and errno is set.

Description

This function closes the queue specified by qid. If this process is the creator of the queue, then the queue is deleted.

See Also

Cascade QueueServer Functions, IP_QueueOpen