delorie.com/djgpp/doc/libc/libc_645.html   search  
libc.a reference

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

read_sel_addr

Syntax

 
#include <debug/dbgcom.h>

void read_sel_addr (unsigned offset, void *buf, unsigned len,
                    unsigned sel);

Description

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.

Return Value

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).

Portability

ANSI/ISO C No
POSIX No


  webmaster     delorie software   privacy  
  Copyright © 2004     Updated Apr 2004