[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

sound



LDP's lpg gives this info:

KDMKTONE 

Generates a beep for a specified time using the kernel timer. 

Example: ioctl (fd, KDMKTONE,(long) argument)

And some more text explaining this. Its really ambiguous. 

How do i sound a beep. I don't want to 
{
initscr();
beep();
endwin();
}

I check with lpg and they have given this function above. Please tell me how to
use it. 

Is it necessary to include syscall.h to use ioctl. 
TIA
sukrit