git.samba.org
/
tridge
/
junkcode.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
add some comments
[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
}