OpenQuizz
Une application de gestion des contenus pédagogiques
FDStream Class Reference
Inheritance diagram for FDStream:
Collaboration diagram for FDStream:

Public Member Functions

def __init__ (self, fd)
 
def write (self, data)
 
def read (self, count=0)
 
def fileno (self)
 
def tell (self)
 
def close (self)
 

Detailed Description

A simple wrapper providing the most basic functions on a file descriptor
with the fileobject interface. Cannot use os.fdopen as the resulting stream
takes ownership

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  fd 
)

Member Function Documentation

◆ close()

def close (   self)

◆ fileno()

def fileno (   self)

◆ read()

def read (   self,
  count = 0 
)

◆ tell()

def tell (   self)

◆ write()

def write (   self,
  data 
)

The documentation for this class was generated from the following file: