'\" t .\" Title: snd_rawmidi_transmit .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: MIDI API .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "SND_RAWMIDI_TRANSMIT" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "MIDI API" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" snd_rawmidi_transmit \- copy from the buffer to the device .SH "SYNOPSIS" .HP \w'int\ snd_rawmidi_transmit('u .BI "int snd_rawmidi_transmit(struct\ snd_rawmidi_substream\ *\ " "substream" ", unsigned\ char\ *\ " "buffer" ", int\ " "count" ");" .SH "ARGUMENTS" .PP \fIsubstream\fR .RS 4 the rawmidi substream .RE .PP \fIbuffer\fR .RS 4 the buffer pointer .RE .PP \fIcount\fR .RS 4 the data size to transfer .RE .SH "DESCRIPTION" .PP Copies data from the buffer to the device and advances the pointer\&. .SH "RETURN" .PP The copied size if successful, or a negative error code on failure\&. .SH "COPYRIGHT" .br