>thanks casper but i went through the documentation 
>
>let me throw some light on it
>#include <unistd.h>
>#include <sys/types.h>
>
>int ptrace(int request, pid_t pid, int addr, int data);
>
>request value 6(PEEKUSER in linux) - "With this request, a few entries in the 
>child's user area ca
n be written. data gives the value that is to be written and addr is the 
location of the entry. The
 few entries that can be written are the [b]general registers[/b] and the 
condition codes of the Pr
ocessor Status Word."
>
>can you help me with this.. or it just doesn't work.. thanks a lot for your 
>reply.

it doesn't work; read proc(4).  use /proc.

Casper

_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to