[Previous]
[Contents]
[Next]

nosound()

turn off the PC's speaker

Synopsis:

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

Description:

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

Examples:

#include <i86.h>

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

Classification:

Intel

Safety:
Interrupt handler Yes
Signal handler Yes
Thread Yes

Caveats:

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

See also:

delay(), sound()


[Previous]
[Contents]
[Next]