X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/9bccf70c0258c7cac2dcb80011b2a964d884c552..d9a64523371fa019c4575bb400cbbc3a50ac9903:/osfmk/man/device_write.html diff --git a/osfmk/man/device_write.html b/osfmk/man/device_write.html old mode 100755 new mode 100644 index 20007edd7..20b3e8e61 --- a/osfmk/man/device_write.html +++ b/osfmk/man/device_write.html @@ -1 +1,98 @@ -
Function - Write a sequence of bytes to a specific device.
#include<device/device.h> kern_return_t device_write (device_t device, mach_port_t reply_port, dev_mode_t mode, recnum_t recnum, io_buf_ptr_t data, mach_msg_type_number_t data_count, io_buf_len_t io_buf_len_t); #include<device/device_request.h> kern_return_t device_write_request (mach_port_t device, mach_port_t reply_port, dev_mode_t mode, recnum_t recnum, io_buf_ptr_t data, mach_msg_type_number_t data_count); kern_return_t ds_device_write_reply (mach_port_t reply_port, kern_return_t return_code, io_buf_len_t bytes_written);
The device_write function writes a sequence of bytes to a device object. The meaning of recnum as well as the specific operation performed is device dependent.
Only generic errors apply.
Functions: device_write_inband, device_reply_server. \ No newline at end of file +
+Function - Write a sequence of bytes to a specific device. +
+#include<device/device.h> + +kern_return_t device_write + (device_t device, + mach_port_t reply_port, + dev_mode_t mode, + recnum_t recnum, + io_buf_ptr_t data, + mach_msg_type_number_t data_count, + io_buf_len_t io_buf_len_t); + + +#include<device/device_request.h> + +kern_return_t device_write_request + (mach_port_t device, + mach_port_t reply_port, + dev_mode_t mode, + recnum_t recnum, + io_buf_ptr_t data, + mach_msg_type_number_t data_count); + + +kern_return_t ds_device_write_reply + (mach_port_t reply_port, + kern_return_t return_code, + io_buf_len_t bytes_written); ++
+
+
+
+
+
+
+
+
+
+The device_write function writes a sequence of bytes +to a device object. The +meaning of recnum as well as the specific operation performed is device +dependent. +
+Only generic errors apply. +
+Functions: +device_write_inband, +device_reply_server.