Go to the first, previous, next, last section, table of contents.
#include <debug/dbgcom.h> void write_sel_addr (unsigned sel, unsigned offset, void *buf, unsigned len);
This function transfers len bytes from the buffer pointed to by
buf in the data segment whose selector is sel, at offset
offset. The companion function read_sel_addr
(see section read_sel_addr) is usually called before write_sel_addr
to save the original contents, if needed.
The function return zero if it has successfully transferred the data, non-zero otherwise (e.g., if the address in offset is outside the limits of the sels segment).
not ANSI, not POSIX
Go to the first, previous, next, last section, table of contents.