View Full Version : beep
ivandn
10-25-2001, 06:35 AM
Is there a system call to make linux beep in c. I tried printf("\a"); but it crashed because it is a XWindows program.
Quick hack:
system("xkbbell");
Look up the Xwindows functions:
XkbBell
XkbForceBell
XkbDeviceBell
XkbForceDeviceBell
XkbBellEvent
XkbDeviceBellEvent
Good luck
vBulletin® v3.7.0, Copyright ©2000-2008, Jelsoft Enterprises Ltd.