Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Dec 2009 14:02:01 -0500
From:      Aryeh Friedman <aryeh.friedman@gmail.com>
To:        Anton Shterenlikht <mexas@bristol.ac.uk>,  FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: example c program that does "beep"
Message-ID:  <bef9a7920912251102r7f7eb25dh126b4c619ca9e0e1@mail.gmail.com>
In-Reply-To: <20091225185826.GA82073@mech-cluster241.men.bris.ac.uk>
References:  <20091225185826.GA82073@mech-cluster241.men.bris.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
printf("\007"); /* assumes that your using a console/terminal that
will beep on ctl-g */

On Fri, Dec 25, 2009 at 1:58 PM, Anton Shterenlikht <mexas@bristol.ac.uk> wrote:
> How can I get a beep from c?
> I looked at curses and syscons.c, but
> still not clear.
> Could somebody send me an example.
> I'd be soooooo grateful.
>
> many thanks
> anton
>
> --
> Anton Shterenlikht
> Room 2.6, Queen's Building
> Mech Eng Dept
> Bristol University
> University Walk, Bristol BS8 1TR, UK
> Tel: +44 (0)117 331 5944
> Fax: +44 (0)117 929 4423
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bef9a7920912251102r7f7eb25dh126b4c619ca9e0e1>