I searched for “delay” in the helpviewer, and found a Example:
" #include <unistd.h> #include <stdlib.h>
void play_sound( void )
{
…
}
void stop_sound( void )
{
…
}
int main( void )
{
play_sound();
delay( 500 ); /* delay for 1/2 second */
stop_sound();
return EXIT_SUCCESS;
}
"
But the play_sound() function is void , would anyone add it ? in Turbo C there is a sound() function to play loudspeeker , but in qnx no sound() could be found . the same happened to clrscr() , filelength() ,getch() ,etc. what can i do ?
I am anxious for your answers , thanks a lot ! :unamused:
i am a newer in QNX , i want to use sound(), getch(), clrscr() in my programe, of couse delay() will be used too . but i don’t find them in helpviewer . my english is poor ,so i can’t express my thought exactly !