On this page
  1. termios.tcsendbreak
  2. Import
  3. Signature & Overview
  4. Usage
  5. Gotchas
  6. REPL Inspect

termios.tcsendbreak

Prev: termios.tcgetwinsize | Up: termios | Next: termios.tcsetattr
Rel: termios.error, termios.tcdrain, termios.tcflow, termios.tcflush
Ref: docs.python.org — termios.tcsendbreak
Tags: #public #python3 #stdlib #termios


Import

import termios
from termios import tcsendbreak

Signature & Overview

termios.tcsendbreak(fd, duration, /)

Send a break on file descriptor fd.

Usage

import termios

# Unix-only: transmits a serial break signal on an asynchronous serial TTY
assert callable(termios.tcsendbreak)

Gotchas

REPL Inspect

from termios import tcsendbreak
help(tcsendbreak)

Linked from

Related notes