nosound

turn off the PC's speaker

Synopsis:

#include <i86.h>
void nosound( void );

Description:

The nosound() function turns off the PC's speaker.

When you use the nosound() function, your program must be linked for privity level 1, and the process must be run by the superuser. For more information on privity, see

See also:

delay(), sound()

Examples:

#include <i86.h>

void main()
  {
    sound( 200 );
    delay( 500 );  /* delay for 1/2 second */
    nosound();
  }

Classification:

Intel

Systems:

DOS, Windows, Win386, QNX