File: //lib/fm-agent/dependencies/linux/python3.9/psutil/__pycache__/_psposix.cpython-39.pyc
a
��in � @ sZ d Z ddlZddlZddlZddlZddlZddlmZ ddlmZ ddlm Z ddlm
Z
ddlmZ dd lm
Z
dd
lmZ ddlmZ ddlmZ dd
lmZ ddlmZ ejdkr�ddlZndZg d�Zdd� Zedu�reed��re�dedd� ejD ���Zdd� Zndd� Zddejeedej�eej efdd�Z!dd� Z"edd � �Z#dS )!z%Routines common to all posix systems.� N� ��TimeoutExpired)�memoize)�
sdiskusage)�
usage_percent)�PY3)�ChildProcessError)�FileNotFoundError)�InterruptedError)�PermissionError)�ProcessLookupError)�unicode)� � )�
pid_exists�wait_pid�
disk_usage�get_terminal_mapc C sL | dkrdS zt �| d� W n& ty0 Y dS tyB Y dS 0 dS dS )z6Check whether pid exists in the current process table.r TFN)�os�killr
r )�pid� r �A/usr/lib/fm-agent/dependencies/linux/python3.9/psutil/_psposix.pyr # s r �Signals� Negsignalc C s g | ]}|j |j f�qS r )�name�value)�.0�xr r r �
<listcomp>= � r c C s&