mdCountReaders(3dm)

mdCountReaders, mdCountWriters - count applications using a MIDI device

Showing IRIX 6.5.30 (default release). Unchanged since IRIX 6.5.

NAME
     mdCountReaders, mdCountWriters - count applications using a MIDI device

SYNOPSIS
     #include <dmedia/midi.h>

     int mdCountReaders(MDport port);

     int mdCountWriters(MDport port);

DESCRIPTION
     mdCountReaders and mdCountWriters return the number of applications
     reading or writing from the device connected to the given MIDI port.

RETURN VALUE
     mdCountReaders and mdCountWriters return the number of readers or
     writers.  On error, they return -1.

SEE ALSO
     mdIntro(3dm)