diff options
author | Giampaolo Rodola <g.rodola@gmail.com> | 2016-10-04 23:08:04 +0200 |
---|---|---|
committer | Giampaolo Rodola <g.rodola@gmail.com> | 2016-10-04 23:08:04 +0200 |
commit | 9ee4e8313834eff0660894fc580c69c0f27c8348 (patch) | |
tree | 3bdb43f5d09dcf5fa74b8f9df91807ca8cd0336b /psutil/_psutil_common.h | |
parent | 8d59696c3740dd348a2e3cb423fb0d6980beb75d (diff) | |
download | psutil-9ee4e8313834eff0660894fc580c69c0f27c8348.tar.gz |
bsd: move pid_exists() and raise_ad_or_nsp out of bsd C modules
Diffstat (limited to 'psutil/_psutil_common.h')
-rw-r--r-- | psutil/_psutil_common.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/psutil/_psutil_common.h b/psutil/_psutil_common.h index 43021a72..7529c288 100644 --- a/psutil/_psutil_common.h +++ b/psutil/_psutil_common.h @@ -8,3 +8,8 @@ PyObject* AccessDenied(void); PyObject* NoSuchProcess(void); + +#ifdef PSUTIL_POSIX +int psutil_pid_exists(long pid); +int psutil_raise_ad_or_nsp(long pid); +#endif |