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/Pisprocdir.3proc.man.txt
+++ new/usr/src/man/man3proc/Pisprocdir.3proc.man.txt
1 1 PISPROCIDR(3PROC) Process Control Library Functions PISPROCIDR(3PROC)
2 2
3 3 NAME
4 4 Pisprocdir - determine if a directory is the /proc directory
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 Pisprocdir(struct ps_prochandle *P, const char *dir);
12 14
13 15 DESECRIPTION
14 16 The Pisprocdir() function determines whether or not the directory dir is
15 17 the root of the /proc file-system. This works across loopback file
16 18 system (lofs) mounts and chroots.
17 19
18 20 RETURN VALUES
19 21 Upon successful completion, the Pisprocdir() function returns 1 if dir is
20 22 the /proc directory, otherwise if not, it returns 0.
21 23
22 24 INTERFACE STABILITY
23 25 Uncommitted
24 26
25 27 MT-LEVEL
26 28 See LOCKING in libproc(3LIB).
27 29
28 30 SEE ALSO
29 31 libproc(3LIB), proc(4), lofs(7FS)
30 32
31 33 illumos May 11, 2016 illumos
↓ open down ↓ |
14 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX