list_delete

	status.i4.v = list_delete(list_header.s.r, cleanup_func.f.v)

	Each node in the linked list is removed.  The second parameter,
	"cleanup_func", points to a function that is called after the
	node is removed from the list.  This gives the application a
	chance to clean up any resources associated with the removed node.

	list_header	(list_link_t *) Pointer to the list header. When
			this function returns, the list will be empty.
	cleanup_func	(void (*)(list_link_t *)) This function will be
			called for each node. The pointer to the node is
			passed to the function.

	This function returns ACNET status values as follows:

	OK			success

	This function requires the following include files:

	cbslib_h

	Related functions:

	list_init, list_insert, LIST_INSERT_HEAD, LIST_INSERT_TAIL,
	list_remove, list_find, list_for_each, LIST_IS_EMPTY, CAST_LLINK_TO

	C/C++ usage:

	int	status;
	list_link_t	list_header;
	void	cleanup_func(list_link_t *list_entry);

	status = list_delete(&list_header,cleanup_func);