projects
/
claws.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
changes to the reply, forward, email/news buttons (popup menu now invoked with right...
[claws.git]
/
libkcc
/
test_check.c
1
#include <stdio.h>
2
main ()
3
{
4
FILE *fp;
5
char s[500];
6
int i=0, c;
7
8
fp=fopen("test_file","r");
9
if (fp == NULL) {printf("not found\n"); exit;}
10
11
while ((c = fgetc(fp)) != EOF && i<490)
12
{
13
s[i] = c; i++;
14
}
15
s[i]='\0';
16
17
printf ("%d bytes ; %x\n",i,KCC_check(s,0));
18
}