turn off the PC's speaker
#include <i86.h> void nosound( void );
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
#include <i86.h> void main() { sound( 200 ); delay( 500 ); /* delay for 1/2 second */ nosound(); }
Intel
DOS, Windows, Win386, QNX