queue_remove

	value.g.v = queue_remove(queue.g.v [,was_removed.i4.r])

	This routine will remove a value from the end of a queue.

	queue		queue to access
	[was_removed]	optional flag indicating whether or not an
			entry was actually removed from the queue
			(TRUE -> element was removed,
			 FALSE -> no element was available for removal,
			 CLIB_INVARG -> not a valid queue)

	This function requires the following include files:

	cbslib_h

	Related functions:

	queue_init, queue_insert, queue_peek, queue_delete, queue_free,
	queue_is_empty, queue_size

	C/C++ usage:

	int	was_removed;
	void	*queue;
	void	*value;

	value = queue_remove(queue,&was_removed);