Print this page
8158 Want named threads API
9857 proc manpages should have LIBRARY section
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/man/man3proc/Pissyscall.3proc.man.txt
+++ new/usr/src/man/man3proc/Pissyscall.3proc.man.txt
1 1 PISSYSCALL(3PROC) Process Control Library Functions PISSYSCALL(3PROC)
2 2
3 3 NAME
4 4 Pissyscall, Pissyscall_prev - determine if instructions are system call
5 5 instructions
6 6
7 -SYNOPSIS
7 +LIBRARY
8 8 Process Control Library (libproc, -lproc)
9 +
10 +SYNOPSIS
9 11 #include <libproc.h>
10 12
11 13 int
12 14 Pissyscall(struct ps_prochandle *P, uintptr_t addr);
13 15
14 16 int
15 17 Pissyscall_prev(struct ps_prochandle *P, uintptr_t addr, uintptr_t *dst);
16 18
17 19 DESCRIPTION
18 20 The Pissyscall() function determines whether or not the instructions at
19 21 addr in the process handle P corresponds to one of the architecture's
20 22 system call instructions.
21 23
22 24 the Pissyscall_prev() function determines whether or not the instruction
23 25 before addr in the process handle P corresponds to one of the
24 26 architecture's system call instructions. If it does, and dst is a
25 27 non-NULL pointer, then the address of the system call instruction will be
26 28 copied into the location pointed to by dst.
27 29
28 30 RETURN VALUES
29 31 Upon successful completion, the Pissyscall() function returns non-zero if
30 32 addr corresponds to a system call instruction. Otherwise, 0 is returned.
31 33
32 34 Upon successful completion, the Pissyscall_prev() function returns
33 35 non-zero if addr corresponds to a system call instruction and if dst is
34 36 non-NULL, dst is updated. Otherwise, 0 is returned.
35 37
36 38 INTERFACE STABILITY
37 39 Uncommitted
38 40
39 41 MT-LEVEL
40 42 See LOCKING in libproc(3LIB).
41 43
42 44 SEE ALSO
43 45 libproc(3LIB)
44 46
45 47 illumos May 11, 2016 illumos
↓ open down ↓ |
27 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX