r00t the LiNuXeRRR wrote:
> Does exist a sound(); function like the one from Borland C from
> dos that turns on the speaker at a given frequance... The sound();
> function doesn't work in linux...
> Thanx for help...
> Seby...
I'm not positive, but I know that some compilers, Borland for one, have
their own proprietary way of doing some things, especially if its for one
platform only (like DOS)- so in some cases all the stuff you can do with
Borland C in DOS you couldn't do with GCC in UNIX/Linux. It's
non-standard functions.
GCC (egcs, whatever) is a Standard C compiler, conforms to ANSI C
standard, so it wouldn't have any of those things that are
extra/proprietary (as you probably know). I think there may be a function
in std C libs for doing that though but I can't recall it off the top of
my head. So to answer your question I can't say I know the answer......
;-). I have my C textbook lying around I can look it up...
--
Matt M
LinuxKnight
[EMAIL PROTECTED]