Reference

snd_rawmidi_transmit(9) on Linux

The text 07a0266fea7a, as Debian 5.0 (Lenny) shipped it.

copy from the buffer to the device

snd_rawmidi_transmit(9) on Linux now