projects
/
rigol
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
add abstraction for scope-access
[rigol]
/
raw2gp.c
1
#include <stdio.h>
2
#include <unistd.h>
3
#include <stdlib.h>
4
5
int
main
(
int
argc
,
char
**
argv
)
6
{
7
unsigned char
buf
[
1024
];
8
int
i
,
n
;
9
10
while
((
n
=
read
(
0
,
buf
,
1024
)) >
0
) {
11
for
(
i
=
0
;
i
<
n
;
i
++)
12
printf
(
"%d
\n
"
,
255
-
buf
[
i
]);
13
}
14
exit
(
0
);
15
}
Impressum
,
Datenschutz