OLD | NEW |
| (Empty) |
1 /* | |
2 * $Id: process_info.h 1142 2011-10-05 18:45:49Z g.rodola $ | |
3 * | |
4 * Copyright (c) 2009, Jay Loden, Giampaolo Rodola'. All rights reserved. | |
5 * Use of this source code is governed by a BSD-style license that can be | |
6 * found in the LICENSE file. | |
7 * | |
8 * Helper functions related to fetching process information. Used by _psutil_bsd | |
9 * module methods. | |
10 */ | |
11 | |
12 #include <Python.h> | |
13 | |
14 typedef struct kinfo_proc kinfo_proc; | |
15 | |
16 int get_proc_list(struct kinfo_proc **procList, size_t *procCount); | |
17 char *getcmdargs(long pid, size_t *argsize); | |
18 char *getcmdpath(long pid, size_t *pathsize); | |
19 PyObject* get_arg_list(long pid); | |
20 int pid_exists(long pid); | |
21 | |
OLD | NEW |