Date: Fri, 25 Dec 2009 14:02:19 -0500 From: Joe Marcus Clarke <marcus@marcuscom.com> To: Anton Shterenlikht <mexas@bristol.ac.uk> Cc: freebsd-questions@freebsd.org Subject: Re: example c program that does "beep" Message-ID: <1261767739.1555.13.camel@shumai.marcuscom.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
--=-1nVRgDM1Sf/igyMM4h0q Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable On Fri, 2009-12-25 at 18:58 +0000, Anton Shterenlikht 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. #include <stdio.h> int main(int argc, char **argv) { printf("%c", 7); return(0); } Joe --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-1nVRgDM1Sf/igyMM4h0q Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEABECAAYFAks1DDoACgkQb2iPiv4Uz4dWvwCeJmcBvPaCGgbI+LlqcHlPRa0K Of8An3HrkBeIE90I8V2voTwoiq5JAMoz =BnnI -----END PGP SIGNATURE----- --=-1nVRgDM1Sf/igyMM4h0q--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1261767739.1555.13.camel>