File: //lib/python3.9/site-packages/pyudev/_os/__pycache__/pipe.cpython-39.pyc
a
8g+^� � @ s� d Z ddlmZ ddlmZ ddlmZ ddlmZ ddlZddlZddlm Z ddl
mZ dd l
mZ dd
l
m
Z
ddlmZ eedd
�Zdd� Zdd� Zdd� Ze� Zdd� Zdd� ZG dd� de�ZdS )a#
pyudev._os.pipe
===============
Fallback implementations for pipe.
1. pipe2 from python os module
2. pipe2 from libc
3. pipe from python os module
The Pipe class wraps the chosen implementation.
.. moduleauthor:: Sebastian Wiesner <lunaryorn@gmail.com>
� )�absolute_import)�division)�print_function)�unicode_literalsN)�partial)�ERROR_CHECKERS)�FD_PAIR)�
SIGNATURES)�load_ctypes_library� O_CLOEXECi c C s"