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/Plmid.3proc.man.txt
+++ new/usr/src/man/man3proc/Plmid.3proc.man.txt
1 1 PLMID(3PROC) Process Control Library Functions PLMID(3PROC)
2 2
3 3 NAME
4 4 Plmid - get the link-map identifier of an address
5 5
6 -SYNOPSIS
6 +LIBRARY
7 7 Process Control Library (libproc, -lproc)
8 +
9 +SYNOPSIS
8 10 #include <libproc.h>
9 11
10 12 int
11 13 Plmid(struct ps_prochandle *P, uintptr_t addr, Lmid_t *lmidp);
12 14
13 15 DESCRIPTION
14 16 The Plmid() function attempts to determine the link-map identifier that
15 17 corresponds to the address addr in the process P. If addr does not
16 18 correspond to an address from an object mapped in by the run-time link
17 19 editor, such as anonymous mapping created with mmap(2), then there will
18 20 be no corresponding link-map identifier.
19 21
20 22 lmidp must be a non-NULL pointer that will be filled in with the link-map
21 23 identifier when it is successfully determined by the run-time link-
22 24 editor.
23 25
24 26 RETURN VALUES
25 27 Upon successful completion, the Plmid() function returns 0 and updates
26 28 lmidp with the link-map identifier of addr. Otherwise, -1 is returned to
27 29 indicate that the link-map identifier could not be determined.
28 30
29 31 INTERFACE STABILITY
30 32 Uncommitted
31 33
32 34 MT-LEVEL
33 35 See LOCKING in libproc(3LIB).
34 36
35 37 SEE ALSO
36 38 libproc(3LIB), proc(4)
37 39
38 40 illumos May 11, 2016 illumos
↓ open down ↓ |
21 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX