tcsendbreak man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

tccontrol(3C)							 tccontrol(3C)

NAME
       tcsendbreak(),  tcdrain(), tcflush(), tcflow() - tty line control func‐
       tions

SYNOPSIS
DESCRIPTION
       If the terminal is using asynchronous serial data transmission,	causes
       transmission  of a continuous stream of zero-valued bits for a specific
       duration.  If duration is zero, it causes transmission  of  zero-valued
       bits  for  at  least  0.25  seconds, but not more than 0.5 seconds.  If
       duration is not zero, zero-valued bits are not transmitted.

       waits until all output written to fildes has been transmitted.

       discards data written to fildes but not transmitted, or	data  received
       but not read, depending on the value of queue_selector:

	      ·	 If queue_selector is data received but not read is flushed.

	      ·	 If  queue_selector  is	 data  written	but not transmitted is
		 flushed.

	      ·	 If queue_selector is both data received  but  not  read,  and
		 data written but not transmitted is flushed.

       suspends	 transmission  of  data	 to  fildes  or reception of data from
       fildes, depending on the value of action:

	      ·	 If action is output is suspended.

	      ·	 If action is suspended output is restarted.

	      ·	 If action  is	a  STOP	 character  is	transmitted  which  is
		 intended  to  cause the terminal to stop transmitting data to
		 the system.

	      ·	 If action is  a  START	 character  is	transmitted  which  is
		 intended  to cause the terminal to start transmitting data to
		 the system.

RETURN VALUE
       Upon successful completion, a value of zero is returned.	 Otherwise,  a
       value of −1 is returned and is set to indicate the error.

ERRORS
       These functions fail if one or more of the following is true:

	      [EBADF]	     fildes is not a valid file descriptor.

	      [EINTR]	     A signal was received during

	      [EINVAL]	     The  queue_selector or the action argument is not
			     a proper value.

	      [ENOTTY]	     The file associated with fildes is not  a	termi‐
			     nal.

SEE ALSO
       tcattribute(3C), tccontrol(3C), thread_safety(5), termio(7).

STANDARDS CONFORMANCE
								 tccontrol(3C)
[top]

List of man pages available for HP-UX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net