Sindbad~EG File Manager

Current Path : /usr/local/lib/python3.9/test/subprocessdata/__pycache__/
Upload File :
Current File : /usr/local/lib/python3.9/test/subprocessdata/__pycache__/fd_status.cpython-39.pyc

a

��gC�@sdZddlZddlZddlZddlZedk�rgZeej�dkrlze�	d�Z
WndZ
Yn0ede
�Zne
eejdd��ZeD]hZze�e�ZWn>ey�Zz&ejejkr�WYdZ[q��WYdZ[n
dZ[00e�ej�s�e�e�q�ed�e
ee���dS)z�When called as a script, print a comma-separated list of the open
file descriptors on stdout.

Usage:
fd_stats.py: check all file descriptors
fd_status.py fd1 fd2 ...: check only specified file descriptors
�N�__main__��SC_OPEN_MAX��,)�__doc__�errno�os�stat�sys�__name__�fds�len�argv�sysconfZ_MAXFD�rangeZtest_fds�map�int�fd�fstat�st�OSError�e�EBADF�S_ISDOOR�st_mode�append�print�join�str�r r �9/usr/local/lib/python3.9/test/subprocessdata/fd_status.py�<module>s.



Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists