ptrace_ptrace man page on OSF1

Man page or keyword search:  
man Server   12896 pages
apropos Keyword Search (all sections)
Output format
OSF1 logo
[printable version]

ptrace (SunOS)							ptrace (SunOS)

NAME
       ptrace - process trace

SUN OS SYNOPSIS
       #include <sys/signal.h> #include <sys/ptrace.h> #include <sys/wait.h>

       int  ptrace (
	       enum ptracereq request, int process,
	       char *address,
	       int data
	       [  , char *address ]);

DIGITAL UNIX SYNOPSIS
       #include <sys/signal.h> #include <sys/ptrace.h>

       int  ptrace (
	       long request,
	       long int process,
	       ulong_t *address,
	       ulong_t data );

PARAMETERS
       Determines  the	action	to be taken by the ptrace function.  Specifies
       the process ID.	Determined by the  value  of  the  request  parameter.
       Determined  by  the  value  of  the  request  parameter.	 For the SunOS
       requests	 PTRACE_WRITETEXT,  PTRACE_WRITEDATA,  PTRACE_READTEXT,	   and
       PTRACE_READDATA, the address2 argument specifies the address within the
       requesting process from where the data is read.	For the SunOS  request
       PTRACE_SETACBKPT, the address2 argument specifies the length of the op‐
       erand in bytes, and must be of 1, 2, or 4.

DIFFERENCES
       Requires sys/signal.h and sys/ptrace.h.	The sys/wait.h header file  is
       no longer needed.

       Argument declaration types changed.

       The following describes the supported requests ptrace() handles:

-------------------------------------------
	SunOS		       Digital UNIX
	Request Action	       Request Action

-------------------------------------------
	PTRACE_TRACEME	       PT_TRACE_ME
	PTRACE_PEEKTEXT	       PT_READ_I
	PTRACE_PEEKDATA	       PT_READ_D
	PTRACE_PEEKUSER	       PT_READ_U
	PTRACE_POKETEXT	       PT_WRITE_I
	PTRACE_POKEDATA	       PT_WRITE_D
	PTRACE_POKEUSER	       PT_WRITE_U
	PTRACE_CONT	       PT_CONTINUE
	PTRACE_KILL	       PT_KILL
	PTRACE_SINGLESTEP      PT_STEP
	PTRACE_ATTACH	       N/A
	PTRACE_DETACH	       N/A
	PTRACE_GETREGS	       N/A
	PTRACE_SETREGS	       N/A
	PTRACE_GETFPREGS       N/A
	PTRACE_SETFPREGS       N/A
	PTRACE_GETFPAREGS      N/A
	PTRACE_SETFPAREGS      N/A
	PTRACE_READTEXT	       N/A
	PTRACE_READDATA	       N/A
	PTRACE_WRITETEXT       N/A
	PTRACE_WRITEDATA       N/A
	PTRACE_SETWRBKPT       N/A
	PTRACE_SETACBKPT       N/A
	PTRACE_CLRBKPT	       N/A
	PTRACE_SYSCALL	       N/A
	PTRACE_DUMPCORE	       N/A

-------------------------------------------
RELATED INFORMATION
       Digital UNIX Functions:

	   ptrace(2) delim off

								ptrace (SunOS)
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server OSF1

List of man pages available for OSF1

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net