System Trap - Write a sequence of bytes to a device object.
kern_return_t device_write_async (mach_port_t device, mach_port_t queue, mach_port_t request_id, dev_mode_t mode, recnum_t recnum, io_buf_ptr_t data, io_buf_len_t bytes_wanted);
The device_write_async function enqueues a write operation for a sequence of bytes to a device object. The meaning of recnum as well as the specific operation performed is device dependent.
device_write_async returns only invalid parameter errors.
Functions: device_read_async_inband, device_read_overwrite_async, device_write_async_inband, io_done_queue_create.