Is there a system call to make linux beep in c. I tried printf("\a"); but it crashed because it is a XWindows program.
Printable View
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