Reference

snd_rawmidi_receive(9) on Linux

The text bee5d57f6a85, as Debian 8 (Jessie) shipped it.

receive the input data from the device

snd_rawmidi_receive(9) on Linux now