Ejemplo n.º 1
0
def tcflow(space, w_fd, action):
    fd = space.c_filedescriptor_w(w_fd)
    try:
        rtermios.tcflow(fd, action)
    except OSError, e:
        raise convert_error(space, e)
Ejemplo n.º 2
0
 def runs_tcall():
     rtermios.tcsendbreak(2, 0)
     rtermios.tcdrain(2)
     rtermios.tcflush(2, rtermios.TCIOFLUSH)
     rtermios.tcflow(2, rtermios.TCOON)
     print "ok"
Ejemplo n.º 3
0
def tcflow(space, w_fd, action):
    fd = space.c_filedescriptor_w(w_fd)
    try:
        rtermios.tcflow(fd, action)
    except OSError, e:
        raise convert_error(space, e)
Ejemplo n.º 4
0
 def runs_tcall():
     rtermios.tcsendbreak(2, 0)
     rtermios.tcdrain(2)
     rtermios.tcflush(2, rtermios.TCIOFLUSH)
     rtermios.tcflow(2, rtermios.TCOON)
     print "ok"