.\" 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 "REGISTER_SOUND_MIDI" "" "06 October 2005" "" "" .SH NAME register_sound_midi \- register a midi device .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int register_sound_midi (struct file_operations * \fIfops\fB, int \fIdev\fB); \fR .SH "ARGUMENTS" .TP \fB\fIfops\fB\fR File operations for the driver .TP \fB\fIdev\fB\fR Unit number to allocate .SH "DESCRIPTION" .PP Allocate a midi device. Unit is the number of the midi device requested. Pass -1 to request the next free midi unit. On success the allocated number is returned, on failure a negative error code is returned.