Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

tcsendbreak - interrupt serial data transmission

&pagelevel(4)&pagelevel

Syntax

#include <termios.h>

int tcsendbreak(int fildes, int duration); 

Description

Extension
In non-conformance with XPG4, this function has no effect and returns without performing any action. (End)

Return val.

0

-1

if successful.

if an error occurs. errno is set to indicate the error.

Errors

tcsendbreak() will fail if:

 

EBADF

fildes is not a valid file descriptor.

 

Extension 

 

EINVAL

An attempt was made to access a BS2000 file. (End)

 

EIO

The process group of the writing process is orphaned, and the writing process is not ignoring or blocking SIGTTOU.

 

ENOTTY

The file associated with fildes is not a terminal.

See also

termios.h, unistd.h, section “General terminal interface”.