[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
#include <debug/dbgcom.h> void read_sel_addr (unsigned offset, void *buf, unsigned len, unsigned sel); |
This function reads the memory starting at offset offset in selector sel for len bytes, and copies the data read to the buffer pointed to by buf. See section write_sel_addr.
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 segment whose selector is sel).
ANSI/ISO C | No |
POSIX | No |