M86 Security M86 User Manual page 477

Web filtering and reporting suite
Hide thumbs Also See for M86:
Table of Contents

Advertisement

1));
}
void plustospace(char *str)
{
}
char *fmakeword(FILE *f, char stop, int *cl)
{
*)realloc(word,sizeof(char)*(wsize+1));
M86 S
U
G
ECURITY
SER
UIDE
int x = 0, y;
char *word = (char *) malloc(sizeof(char) * (strlen(line) +
for(x=0;((line[x]) && (line[x] != stop));x++)
word[x] = line[x];
word[x] = '\0';
if(line[x]) ++x;
y=0;
while(line[y++] = line[x++]);
return word;
register int x;
for(x=0;str[x];x++)
if(str[x] == '+')
str[x] = ' ';
int wsize;
char *word;
int ll;
wsize = 102400;
ll=0;
word = (char *) malloc(sizeof(char) * (wsize + 1));
while(1)
{
word[ll] = (char)fgetc(f);
if(ll==wsize)
{
word[ll+1] = '\0';
wsize+=102400;
word = (char
}
--(*cl);
if((word[ll] == stop) || (feof(f)) || (!(*cl)))
{
if(word[ll] != stop)
ll++;
W
F
A
EB
ILTER
PPENDICES
S
A
B
ECTION
PPENDIX
449

Advertisement

Table of Contents
loading

Table of Contents