example c program that does "beep"
Polytropon
freebsd at edvax.de
Fri Dec 25 19:34:42 UTC 2009
On Fri, 25 Dec 2009 18:58:26 +0000, Anton Shterenlikht <mexas at bristol.ac.uk> wrote:
> How can I get a beep from c?
> I looked at curses and syscons.c, but
> still not clear.
If you want to use NCURSES / CURSES, it's a bit complicated.
Otherwise, just output %c (the character) 0x07, BEL, which
generates an audible bell, or beep.
--
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
More information about the freebsd-questions
mailing list