turn off the PC's speaker
#include <i86.h> void nosound( void );
The nosound() function turns off the PC's speaker.
#include <i86.h> void main() { sound( 200 ); delay( 500 ); /* delay for 1/2 second */ nosound(); }
Intel
Safety: | |
---|---|
Interrupt handler | Yes |
Signal handler | Yes |
Thread | Yes |
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