## i386_io_port_list

Function - List the devices that permit target thread to invoke operations.

### SYNOPSIS

    kern_return_t   i386_io_port_list
                    (thread_act_t                        target_act,
                     device_list_t                      device_list);

### PARAMETERS

target_act
  [in thread send right] Thread whose permission list is to be returned.

device_list
  [out pointer to dynamic array of device send rights] Device ports permitting I/O.

### DESCRIPTION

The i386_io_port_list function returns a list of the devices named in the thread's I/O permission bitmap, namely those permitting I/O instructions to be executed against them.

### RETURN VALUES

Only generic errors apply.

### RELATED INFORMATION

Functions: i386_io_port_add, i386_io_port_remove.