kinfo_getvmmap.3 (a4bf5fb987611aeb78c422312b63b185e39982d7) kinfo_getvmmap.3 (799162a6287e113b0a53a4a573321fa914bc3b0e)
1.\"
2.\" Copyright (c) 2008 Peter Wemm
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

--- 31 unchanged lines hidden (view full) ---

40.Fn kinfo_getvmmap "pid_t pid" "int *cntp"
41.Sh DESCRIPTION
42This function is used for obtaining virtual memory mapping information
43of a particular process.
44.Pp
45The
46.Ar pid
47field contains the process identifier.
1.\"
2.\" Copyright (c) 2008 Peter Wemm
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

--- 31 unchanged lines hidden (view full) ---

40.Fn kinfo_getvmmap "pid_t pid" "int *cntp"
41.Sh DESCRIPTION
42This function is used for obtaining virtual memory mapping information
43of a particular process.
44.Pp
45The
46.Ar pid
47field contains the process identifier.
48This should be the a process that you have privilige to access.
48This should be the a process that you have privilege to access.
49The
50.Ar cntp
51field is allows the caller to know how many records are returned.
52.Pp
53This function is a wrapper around
54.Xr sysctl 3
55with the
56.Dv KERN_PROC_VMMAP

--- 22 unchanged lines hidden ---
49The
50.Ar cntp
51field is allows the caller to know how many records are returned.
52.Pp
53This function is a wrapper around
54.Xr sysctl 3
55with the
56.Dv KERN_PROC_VMMAP

--- 22 unchanged lines hidden ---