Reference

snd_rawmidi_transmit(9) on Linux

The text cbd4505f63ab, as Debian 6.0 (Squeeze) shipped it.

copy from the buffer to the device

snd_rawmidi_transmit(9) on Linux now