Hallo, dies ist ein Test.
PWD: /www/data-lst1/unixsoft/unixsoft/kaempfer/.public_html
Running in File Mode
Relative path: ./../../../../../../usr/man/man3c/./tcsendbreak.3c
Real path: /usr/share/man/man3c/tcsendbreak.3c
Zurück
'\" te .\" Copyright (c) 2002, 2020, Oracle and/or its affiliates. .\" Portions Copyright (c) 1992, The X/Open Company Ltd. All rights reserved. .\" Oracle gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. This notice shall appear on any product containing this material. .TH tcsendbreak 3C "14 Aug 2002" "Oracle Solaris 11.4" "Standard C Library Functions" .SH NAME tcsendbreak \- send a "break" for a specific duration .SH SYNOPSIS .LP .nf #include <termios.h> \fBint\fR \fBtcsendbreak\fR(\fBint\fR \fIfildes\fR, \fBint\fR \fIduration\fR); .fi .SH DESCRIPTION .sp .LP The \fIfildes\fR argument is an open file descriptor associated with a terminal. .sp .LP If the terminal is using asynchronous serial data transmission, \fBtcsendbreak()\fR will cause transmission of a continuous stream of zero-valued bits for a specific duration. If \fIduration\fR is 0, it will cause transmission of zero-valued bits for at least 0.25 seconds, and not more than 0.5 seconds. If \fIduration\fR is not 0, it behaves in a way similar to \fBtcdrain\fR(3C). .sp .LP If the terminal is not using asynchronous serial data transmission, it sends data to generate a break condition or returns without taking any action. .sp .LP Attempts to use \fBtcsendbreak()\fR from a process which is a member of a background process group on a \fIfildes\fR associated with its controlling terminal will cause the process group to be sent a \fBSIGTTOU\fR signal. If the calling process is blocking or ignoring \fBSIGTTOU\fR signals, the process is allowed to perform the operation, and no signal is sent. .SH RETURN VALUES .sp .LP Upon successful completion, \fB0\fR is returned. Otherwise, \fB\(mi1\fR is returned and \fBerrno\fR is set to indicate the error. .SH ERRORS .sp .LP The \fBtcsendbreak()\fR function will fail if: .sp .ne 2 .mk .na \fB\fBEBADF\fR\fR .ad .RS 10n .rt The \fIfildes\fR argument is not a valid file descriptor. .RE .sp .ne 2 .mk .na \fB\fBENOTTY\fR\fR .ad .RS 10n .rt The file associated with \fIfildes\fR is not a terminal. .RE .sp .LP The \fBtcsendbreak()\fR function may fail if: .sp .ne 2 .mk .na \fB\fBEIO\fR\fR .ad .RS 7n .rt The process group of the writing process is orphaned, and the writing process is not ignoring or blocking \fBSIGTTOU\fR. .RE .SH ATTRIBUTES .sp .LP See \fBattributes\fR(7) for descriptions of the following attributes: .sp .TS tab( ) box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) . ATTRIBUTE TYPE ATTRIBUTE VALUE _ Interface Stability Committed _ MT-Level MT-Safe, and Async-Signal-Safe _ Standard See \fBstandards\fR(7). .TE .sp .SH SEE ALSO .sp .LP \fBtcdrain\fR(3C), \fBtermio\fR(4I), \fBattributes\fR(7), \fBstandards\fR(7)