added link to libdl
[tridge/junkcode.git] / beep.c
1 #include <stdio.h>
2
3 main(int argc,char *argv[])
4 {
5   int count=1;
6   if (argc > 1)
7     count = atoi(argv[1]);
8   while (count--)
9     {
10       putc(7,stdout);
11       fflush(stdout);
12       usleep(200000);
13     }
14 }