## io_done_queue_terminate

Function - Terminate an io_done_queue kernel object.

### SYNOPSIS

    #include<device/device.h>

    kern_return_t	io_done_queue_terminate
    		(mach_port_t	queue);

### PARAMETERS

queue
  [in io-done-queue send right] The port referencing the io_done_queue to be destroyed.

### DESCRIPTION

The io_done_queue_terminate function is called to destroy a previous instatiation of the kernel object supporting asynchronous read/write operations on a device.

### RETURN VALUES

KERN_INVALID_ARGUMENT
  Invalid queue parameter.

### RELATED INFORMATION

Functions: io_done_queue_create, io_done_queue_wait, device_read_async, device_read_async_inband, device_read_overwrite_async, device_write_async, device_write_async_inband.