GIT.Harvie.CZ
/
mirrors
/
Programs.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Gitignore
[mirrors/Programs.git]
/
c
/
mice.c
1
#include <stdio.h>
2
3
int
main
() {
4
char
inbuf
[
3
];
5
FILE
*
mice
=
fopen
(
"/dev/input/mice"
,
"rb"
);
6
if
(!
mice
)
exit
(
1
);
7
8
while
(
1
) {
9
printf
(
" %b"
,
getc
(
mice
));
10
printf
(
" %d"
,
getc
(
mice
));
11
printf
(
" %d
\n
"
,
getc
(
mice
));
12
}
13
14
}
This page took
0.386753 seconds
and
4
git commands to generate.