.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "N_HDLC_TTY_WRITE" "9" "09 October 2005" "" ""
.SH NAME
n_hdlc_tty_write \- write a single frame of data to device
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
ssize_t n_hdlc_tty_write (struct tty_struct * \fItty\fB, struct file * \fIfile\fB, const unsigned char * \fIdata\fB, size_t \fIcount\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fItty\fB\fR
-- undescribed --
.TP
\fB\fIfile\fB\fR
-- undescribed --
.TP
\fB\fIdata\fB\fR
-- undescribed --
.TP
\fB\fIcount\fB\fR
-- undescribed --
.SH "DESCRIPTION"
.PP
\fItty\fR - pointer to associated tty device instance data
\fIfile\fR - pointer to file object data
\fIdata\fR - pointer to transmit data (one frame)
\fIcount\fR - size of transmit frame in bytes
.PP
Returns the number of bytes written (or error code).