summaryrefslogtreecommitdiff
path: root/psutil/arch/osx/process_info.h
diff options
context:
space:
mode:
authorGiampaolo Rodola <g.rodola@gmail.com>2023-04-20 20:19:12 +0200
committerGitHub <noreply@github.com>2023-04-20 20:19:12 +0200
commit747965f6dbffe0a664a2ae7816f6d9b9a0f83fb5 (patch)
treeca633b0a99273889e2a7aeabbfae84df9f461347 /psutil/arch/osx/process_info.h
parent6e23a5129375ae19abadc0de49f920899b6e765c (diff)
downloadpsutil-747965f6dbffe0a664a2ae7816f6d9b9a0f83fb5.tar.gz
OSX / refact: get rid of process_info.c (#2243)
Diffstat (limited to 'psutil/arch/osx/process_info.h')
-rw-r--r--psutil/arch/osx/process_info.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/psutil/arch/osx/process_info.h b/psutil/arch/osx/process_info.h
deleted file mode 100644
index 08046bcb..00000000
--- a/psutil/arch/osx/process_info.h
+++ /dev/null
@@ -1,18 +0,0 @@
-/*
- * Copyright (c) 2009, Jay Loden, Giampaolo Rodola'. All rights reserved.
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
-
-#include <Python.h>
-
-typedef struct kinfo_proc kinfo_proc;
-
-int psutil_is_zombie(pid_t pid);
-int psutil_get_kinfo_proc(pid_t pid, struct kinfo_proc *kp);
-int psutil_get_proc_list(kinfo_proc **procList, size_t *procCount);
-int psutil_proc_pidinfo(
- pid_t pid, int flavor, uint64_t arg, void *pti, int size);
-
-PyObject *psutil_proc_cmdline(PyObject *self, PyObject *args);
-PyObject *psutil_proc_environ(PyObject *self, PyObject *args);