1 PGETAREG(3PROC) Process Control Library Functions PGETAREG(3PROC)
2
3 NAME
4 Pgetareg, Pputareg, Lgetareg, Lputareg - set and get a register from a
5 stopped process or thread
6
7 SYNOPSIS
8 Process Control Library (libproc, -lproc)
9 #include <libproc.h>
10
11 int
12 Pgetareg(struct ps_prochandle *P, int regno, prgreg_t *preg);
13
14 int
15 Pputareg(struct ps_prochandle *P, int regno, prgreg_t preg);
16
17 int
18 Lgetareg(struct ps_lwphandle *L, int regno, prgreg_t *preg);
19
20 int
21 Lputareg(struct ps_lwphandle *L, int regno, prgreg_t preg);
22
23 DESCRIPTION
24 The Pgetareg() and Pputareg() functions read and update the registers of
25 the process handle referred to by P. The getting and setting of
26 registers of the process operates on the representative thread (LWP).
27 For more information on how the representative is chosen, see proc(4).
28
|
1 PGETAREG(3PROC) Process Control Library Functions PGETAREG(3PROC)
2
3 NAME
4 Pgetareg, Pputareg, Lgetareg, Lputareg - set and get a register from a
5 stopped process or thread
6
7 LIBRARY
8 Process Control Library (libproc, -lproc)
9
10 SYNOPSIS
11 #include <libproc.h>
12
13 int
14 Pgetareg(struct ps_prochandle *P, int regno, prgreg_t *preg);
15
16 int
17 Pputareg(struct ps_prochandle *P, int regno, prgreg_t preg);
18
19 int
20 Lgetareg(struct ps_lwphandle *L, int regno, prgreg_t *preg);
21
22 int
23 Lputareg(struct ps_lwphandle *L, int regno, prgreg_t preg);
24
25 DESCRIPTION
26 The Pgetareg() and Pputareg() functions read and update the registers of
27 the process handle referred to by P. The getting and setting of
28 registers of the process operates on the representative thread (LWP).
29 For more information on how the representative is chosen, see proc(4).
30
|