mdGetDefault(3dm)
mdGetDefault - return the name of the default input or output interface
As shipped in IRIX 6.5.22. Unchanged since IRIX 6.5.
NAME mdGetDefault - return the name of the default input or output interface SYNOPSIS #include <dmedia/midi.h> char *mdGetDefault(int inout) DESCRIPTION mdGetDefault returns a string containing the name of either the default input or the default output interface. If a value of MD_GET_INPUT is passed in the argument inout, the default input interface name is returned. If the value MD_GET_OUTPUT is passed, the default output interface name is returned. Space for the string is allocated by the function; the caller is responsible for deallocating the string (via free(3)) when finished. SEE ALSO mdGetName(3dm), mdIntro(3dm) DIAGNOSTICS Upon successful completion a normal null-terminated string is returned. If no devices are configured, NULL will be returned.