kinfo_getproc.3 (6a068746777241722b2b32c5d0bc443a2a64d80b) | kinfo_getproc.3 (d1a0cea48b0159af86b3d389592af910474b45ec) |
---|---|
1.\" 2.\" Copyright (c) 2009 Ulf Lilleengen 3.\" All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright --- 11 unchanged lines hidden (view full) --- 20.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24.\" SUCH DAMAGE. 25.\" 26.\" $FreeBSD$ 27.\" | 1.\" 2.\" Copyright (c) 2009 Ulf Lilleengen 3.\" All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright --- 11 unchanged lines hidden (view full) --- 20.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24.\" SUCH DAMAGE. 25.\" 26.\" $FreeBSD$ 27.\" |
28.Dd February 25, 2012 | 28.Dd March 1, 2013 |
29.Dt KINFO_GETPROC 3 30.Os 31.Sh NAME 32.Nm kinfo_getproc 33.Nd function for getting process information from kernel 34.Sh LIBRARY 35.Lb libutil 36.Sh SYNOPSIS 37.In sys/types.h 38.In libutil.h 39.Ft struct kinfo_proc * | 29.Dt KINFO_GETPROC 3 30.Os 31.Sh NAME 32.Nm kinfo_getproc 33.Nd function for getting process information from kernel 34.Sh LIBRARY 35.Lb libutil 36.Sh SYNOPSIS 37.In sys/types.h 38.In libutil.h 39.Ft struct kinfo_proc * |
40.Fn kinfo_getproc "pid_t pid" "int *cntp" | 40.Fn kinfo_getproc "pid_t pid" |
41.Sh DESCRIPTION 42This function is used for obtaining process information from the kernel. 43.Pp 44The 45.Ar pid 46field contains the process identifier. 47This should be a process that you have privilege to access. 48This function is a wrapper around --- 25 unchanged lines hidden --- | 41.Sh DESCRIPTION 42This function is used for obtaining process information from the kernel. 43.Pp 44The 45.Ar pid 46field contains the process identifier. 47This should be a process that you have privilege to access. 48This function is a wrapper around --- 25 unchanged lines hidden --- |