*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> midi/mdGetDefault (3d)              
Title
Content
Arch
Section
 

Contents


mdGetDefault(3dm)					     mdGetDefault(3dm)


NAME    [Toc]    [Back]

     mdGetDefault - return the name of the default input or output interface

SYNOPSIS    [Toc]    [Back]

     #include <dmedia/midi.h>

     char *mdGetDefault(int inout)

DESCRIPTION    [Toc]    [Back]

     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    [Toc]    [Back]

      
      
     mdGetName(3dm), mdIntro(3dm)

DIAGNOSTICS    [Toc]    [Back]

     Upon successful completion	a normal null-terminated string	is returned.
     If	no devices are configured, NULL	will be	returned.


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
setmon IRIX set the current and default video output format
tt_default_file HP-UX return the current default file
dmPMGetDefaultPluginPathForType IRIX return the default path for plugins of a specific type
fread IRIX binary input/output
ios IRIX input/output formatting
poll IRIX input/output multiplexing
fread FreeBSD binary stream input/output
getw Linux input and output of words (ints)
gpio OpenBSD General Purpose Input/Output
intro IRIX buffering, formatting and input/output
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service