1 .\"
2 .\" This file and its contents are supplied under the terms of the
3 .\" Common Development and Distribution License ("CDDL"), version 1.0.
4 .\" You may only use this file in accordance with the terms of version
5 .\" 1.0 of the CDDL.
6 .\"
7 .\" A full copy of the text of the CDDL should have accompanied this
8 .\" source. A copy of the CDDL is also available via the Internet at
9 .\" http://www.illumos.org/license/CDDL.
10 .\"
11 .\"
12 .\" Copyright 2015 Joyent, Inc.
13 .\"
14 .Dd May 11, 2016
15 .Dt PRELEASE 3PROC
16 .Os
17 .Sh NAME
18 .Nm Prelease ,
19 .Nm Pfree
20 .Nd release a process control handle
21 .Sh SYNOPSIS
22 .Lb libproc
23 .In libproc.h
24 .Ft void
25 .Fo Prelease
26 .Fa "struct ps_prochandle *P"
27 .Fa "int flags"
28 .Fc
29 .Ft void
30 .Fo Pfree
31 .Fa "struct ps_prochandle *P"
32 .Fc
33 .Sh DESCRIPTION
34 The
35 .Fn Prelease
36 function is used to release all of the resources associated with a
37 .Nm libproc
38 handle.
39 It is suitable for handles to core files, created processes, and grabbed
40 processes from the
41 .Xr Pgrab_core 3PROC ,
42 .Xr Pcreate 3PROC ,
|
1 .\"
2 .\" This file and its contents are supplied under the terms of the
3 .\" Common Development and Distribution License ("CDDL"), version 1.0.
4 .\" You may only use this file in accordance with the terms of version
5 .\" 1.0 of the CDDL.
6 .\"
7 .\" A full copy of the text of the CDDL should have accompanied this
8 .\" source. A copy of the CDDL is also available via the Internet at
9 .\" http://www.illumos.org/license/CDDL.
10 .\"
11 .\"
12 .\" Copyright 2015 Joyent, Inc.
13 .\"
14 .Dd May 11, 2016
15 .Dt PRELEASE 3PROC
16 .Os
17 .Sh NAME
18 .Nm Prelease ,
19 .Nm Pfree
20 .Nd release a process control handle
21 .Sh LIBRARY
22 .Lb libproc
23 .Sh SYNOPSIS
24 .In libproc.h
25 .Ft void
26 .Fo Prelease
27 .Fa "struct ps_prochandle *P"
28 .Fa "int flags"
29 .Fc
30 .Ft void
31 .Fo Pfree
32 .Fa "struct ps_prochandle *P"
33 .Fc
34 .Sh DESCRIPTION
35 The
36 .Fn Prelease
37 function is used to release all of the resources associated with a
38 .Nm libproc
39 handle.
40 It is suitable for handles to core files, created processes, and grabbed
41 processes from the
42 .Xr Pgrab_core 3PROC ,
43 .Xr Pcreate 3PROC ,
|