On Thu, 20 Apr 2000, r00t the LiNuXeRRR wrote:

>       Does exist a sound(); function like the one from Borland C from

I dont think so (unless some extra library would have one).

You can generate a beep with 'puts("\a");' command, but for selecting the
pitch and duration, you probably need to use console tty. Try something
like
        fd = open("/dev/console");
        ioctl(fd, some arguments)

And how to know _which_ arguments to use? Read "man console_ioctl".


Reply via email to