'\" t .\" Title: snd_rawmidi_receive .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: April 2019 .\" Manual: MIDI API .\" Source: Kernel Hackers Manual 4.9.168 .\" Language: English .\" .TH "SND_RAWMIDI_RECEIVE" "9" "April 2019" "Kernel Hackers Manual 4\&.9\&." "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_receive \- receive the input data from the device .SH "SYNOPSIS" .HP \w'int\ snd_rawmidi_receive('u .BI "int snd_rawmidi_receive(struct\ snd_rawmidi_substream\ *\ " "substream" ", const\ 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 read .RE .SH "DESCRIPTION" .PP Reads the data from the internal buffer\&. .SH "RETURN" .PP The size of read data, or a negative error code on failure\&. .SH "COPYRIGHT" .br