Back to index

python3.2  3.2.2
Classes | Functions | Variables
test.test_ioctl Namespace Reference

Classes

class  IoctlTests

Functions

def test_main

Variables

tuple fcntl = import_module('fcntl')
tuple termios = import_module('termios')
tuple tty = open("/dev/tty", "rb")
tuple r = fcntl.ioctl(tty, termios.TIOCGPGRP, " ")
tuple rpgrp = struct.unpack("i", r)
 pty = None

Function Documentation

Definition at line 89 of file test_ioctl.py.

00089 
00090 def test_main():
00091     run_unittest(IoctlTests)

Here is the call graph for this function:


Variable Documentation

tuple test.test_ioctl.fcntl = import_module('fcntl')

Definition at line 5 of file test_ioctl.py.

Definition at line 26 of file test_ioctl.py.

tuple test.test_ioctl.r = fcntl.ioctl(tty, termios.TIOCGPGRP, " ")

Definition at line 15 of file test_ioctl.py.

Definition at line 17 of file test_ioctl.py.

tuple test.test_ioctl.termios = import_module('termios')

Definition at line 6 of file test_ioctl.py.

tuple test.test_ioctl.tty = open("/dev/tty", "rb")

Definition at line 10 of file test_ioctl.py.