Mail Archives: djgpp/1995/06/09/14:38:30
>>sound(f); /* f is the desired frequency */
>>usleep(t); /* t is the duration in microseconds (1e-6 s) */
>>nosound();
>
>But alas, it appears:
>
>#define usleep(t) sleep(t / 1000000)
>
>Is this still true? Is it fixed in the latest version? Can anyone
>get the suggested beeper to work?
DJGPP 1.12m3 has the line `unsigned usleep(unsigned)' in <djgppstd.h>.
What version _are_ you using, anyway?
--- Aaron Ucko (ucko AT vax1 DOT rockhurst DOT edu; finger for PGP public key) | httyp!
Geek code 2.1 [for explanation, finger hayden@ | `God's Laws' (Rudy Rucker,
vax1.mankato.msus.edu]: GCS/M/S d(-) H s g+ p? \ _Master of Space and Time_):
!au a17 w+ v+(++) C++(+++)>++++ UL++(S+)>++++ \ 1) Be clean. 2) Follow Gary.
P+(++) L++ 3(-) E- N+(++) K- W--(---) M-@ V-(--) \ 3) Teach God's Laws.
po-(--) Y+ t(+) !5 j(++) R(-) G' tv--(-) b+++ +---------------------------
!D(--) B--(---) e>++++(*) u++(@) h!() f(+) r-(--)>+++ n+(-) y?
- Raw text -